File tree Expand file tree Collapse file tree 1 file changed +28
-25
lines changed Expand file tree Collapse file tree 1 file changed +28
-25
lines changed Original file line number Diff line number Diff line change 11name : CI — Test & Lint
22
33on :
4- push :
5- branches : [main]
6- pull_request :
7- branches : [main]
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
88
99jobs :
10- test :
11- runs-on : ubuntu-latest
12- strategy :
13- matrix :
14- python-version : [3.8, 3.11]
15- steps :
16- - uses : actions/checkout@v4
17- - name : Set up Python
18- uses : actions/setup-python@v4
19- with :
20- python-version : ${{ matrix.python-version }}
21- - name : Install dependencies
22- run : |
23- python -m pip install --upgrade pip
24- pip install -r requirements.txt
25- - name : Run autopep8 check
26- run : |
27- pip install autopep8
28- autopep8 --diff --recursive app tests
29- - name : Run tests
30- run : pytest -q
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : [3.8, 3.11]
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up Python
18+ uses : actions/setup-python@v4
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -r requirements.txt
25+ - name : Run autopep8 check
26+ run : |
27+ pip install autopep8
28+ autopep8 --diff --recursive app tests
29+
30+ - name : Run tests
31+ env :
32+ PYTHONPATH : ${{ github.workspace }}
33+ run : pytest -q
You can’t perform that action at this time.
0 commit comments