@@ -13,26 +13,19 @@ jobs:
1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16- python-version : ["3.7 ", "3.8 ", "3.9 ", "3.10 ", "3.11 "]
16+ python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12 "]
1717
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v4
2020 - name : Set up Python ${{ matrix.python-version }}
2121 uses : actions/setup-python@v4
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424 - name : Install dependencies
2525 run : |
2626 python -m pip install --upgrade pip
27- pip install flake8 pytest
28- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29- if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30- - name : Lint with flake8
31- run : |
32- # stop the build if there are Python syntax errors or undefined names
33- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+ pip install -r requirements.txt
28+ pip install -r test-requirements.txt
3629 - name : Test with pytest
3730 run : |
38- pytest
31+ pytest --cov={{packageName}}
0 commit comments