@@ -3,8 +3,16 @@ name: Python Test
33on :
44 push :
55 branches : [ master, development ]
6+ paths-ignore :
7+ - " **.md"
8+ - " .markdown_style.rb"
9+ - " .mdlrc"
610 pull_request :
711 branches : [ master, development ]
12+ paths-ignore :
13+ - " **.md"
14+ - " .markdown_style.rb"
15+ - " .mdlrc"
816
917jobs :
1018 test :
@@ -19,16 +27,16 @@ jobs:
1927 python-version : 3.9
2028 ext : .ps1
2129 steps :
22- - uses : actions/checkout@v2
30+ - uses : actions/checkout@v3
2331 - name : Setup Python
24- uses : actions/setup-python@v2
32+ uses : actions/setup-python@v4
2533 with :
2634 python-version : ${{ matrix.python-version }}
2735
2836 - name : Install dependencies
2937 run : |
30- python -m pip install --upgrade pip flake8 pytest pytest-cov
31- pip install -r requirements.txt
38+ python -m pip install --upgrade pip Flake8-pyproject pytest pytest-cov
39+ pip install .
3240
3341 - name : Make configuration for tests
3442 env :
@@ -38,14 +46,14 @@ jobs:
3846
3947 - name : Lint with flake8
4048 run : |
41- flake8 . --count -- select=E9,F63,F7,F82 --show-source --statistics
49+ flake8 . --select=E9,F63,F7,F82
4250
4351 - name : Test with pytest
4452 run : |
4553 pytest -m 'not slow' --verbose --cov=./bdfr/ --cov-report term:skip-covered --cov-report html
46-
54+
4755 - name : Upload coverage report
48- uses : actions/upload-artifact@v2
56+ uses : actions/upload-artifact@v3
4957 with :
5058 name : coverage_report
5159 path : htmlcov/
0 commit comments