-
Notifications
You must be signed in to change notification settings - Fork 31
54 lines (50 loc) · 1.86 KB
/
Copy pathflaky-dev-test.yml
File metadata and controls
54 lines (50 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Flaky-Dev-Tests
on:
pull_request:
branches:
- '*'
push:
branches:
- '*'
jobs:
tests:
runs-on: ${{ matrix.arrays.os }}
strategy:
matrix:
arrays: [
{os: ubuntu-22.04, python-version: '3.7.17'},
{os: ubuntu-22.04, python-version: '3.8'},
{os: ubuntu-22.04, python-version: '3.9'},
{os: ubuntu-22.04, python-version: '3.10'},
{os: ubuntu-22.04, python-version: '3.11'},
{os: ubuntu-22.04, python-version: '3.12'},
{os: ubuntu-22.04, python-version: '3.13'},
{os: ubuntu-22.04, python-version: '3.14'},
{os: ubuntu-22.04, python-version: '3.15.0-beta.4'},
{os: windows-latest, python-version: '3.7.9'},
{os: windows-latest, python-version: '3.8'},
{os: windows-latest, python-version: '3.9'},
{os: windows-latest, python-version: '3.10'},
{os: windows-latest, python-version: '3.11'},
{os: windows-latest, python-version: '3.12'},
{os: windows-latest, python-version: '3.13'},
{os: windows-latest, python-version: '3.14'},
{os: windows-latest, python-version: '3.15.0-beta.4'}
]
steps:
- name: Set up Python ${{ matrix.arrays.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.arrays.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest-cov ipython notebook==6.2.0
- name: Checkout code
uses: actions/checkout@v2
- name: Test with pytest
env:
PYTHONHASHSEED: 1
PYTEST_RUN_PERF_TESTS: 1
run: |
python -Xfrozen_modules=off -m pytest -vv tests/test_fast_capped_str_casts.py::test_speed