File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1- name : " Python Package"
1+ name : " Run Python Checks"
2+
23on :
4+ pull_request :
5+ branches :
6+ - ' main'
37 push :
48 branches :
59 - main
@@ -10,28 +14,22 @@ jobs:
1014 strategy :
1115 matrix :
1216 python-version :
13- - " 3.7"
14- - " 3.8"
15- - " 3.9"
1617 - " 3.10"
18+ - " 3.11"
1719 steps :
18- - uses : actions/checkout@v3
19-
20+ - uses : actions/checkout@v4
2021 - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v4
22+ uses : actions/setup-python@v5
2223 with :
2324 python-version : ${{ matrix.python-version }}
24-
2525 - name : Install dependencies
2626 run : |
2727 python -m pip install --upgrade pip
28- pip install -e .[dev,test]
29-
28+ pip install .[dev,test]
3029 - name : Run linting
3130 run : |
3231 python -m flake8 -v --config .flake8 --black-config pyproject.toml --show-source
3332 continue-on-error : true
34-
35- - name : Run tests
33+ - name : Run unit tests
3634 run : |
3735 python -m pytest -vvv --cov --cov-context=test --cov-report=xml
You can’t perform that action at this time.
0 commit comments