Skip to content

Commit c577267

Browse files
committed
remove python 3.9 from pytest
1 parent b2a2373 commit c577267

1 file changed

Lines changed: 25 additions & 26 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,37 @@ name: Pytest
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [master]
99
pull_request:
10-
branches: [ master ]
10+
branches: [master]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615
strategy:
1716
matrix:
18-
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
17+
python-version: ["3.10", "3.11", "3.12"]
1918

2019
steps:
21-
- uses: actions/checkout@v2
22-
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v1
24-
with:
25-
python-version: ${{ matrix.python-version }}
26-
- name: Install dependencies
27-
run: |
28-
pip install --upgrade pip wheel setuptools
29-
pip install numpy cython
30-
pip install -r requirements-dev.txt
31-
pip install -e .
32-
- name: Lint with flake8
33-
run: |
34-
pip install flake8
35-
# stop the build if there are Python syntax errors or undefined names
36-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39-
- name: Test with pytest
40-
run: |
41-
pip install pytest
42-
pytest
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
pip install --upgrade pip wheel setuptools
28+
pip install numpy cython
29+
pip install -r requirements-dev.txt
30+
pip install -e .
31+
- name: Lint with flake8
32+
run: |
33+
pip install flake8
34+
# stop the build if there are Python syntax errors or undefined names
35+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38+
- name: Test with pytest
39+
run: |
40+
pip install pytest
41+
pytest

0 commit comments

Comments
 (0)