File tree Expand file tree Collapse file tree 1 file changed +23
-15
lines changed
Expand file tree Collapse file tree 1 file changed +23
-15
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11-
1211 runs-on : ubuntu-latest
1312 strategy :
14- max-parallel : 4
1513 matrix :
16- python-version : [3.7 , 3.8 , 3.9 ]
14+ python-version : [3.8 , 3.9 , 3.10 ]
1715
1816 steps :
19- - uses : actions/checkout@v4
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v3
22- with :
23- python-version : ${{ matrix.python-version }}
24- - name : Install Dependencies
25- run : |
26- python -m pip install --upgrade pip
27- pip install -r requirements.txt
28- - name : Run Tests
29- run : |
30- python main.py
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install -r requirements.txt
29+ pip install pytest
30+
31+ - name : Run tests
32+ run : |
33+ pytest -v --maxfail=1 --disable-warnings
34+
35+ - name : Lint code (optional but recommended)
36+ run : |
37+ pip install flake8
38+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
You can’t perform that action at this time.
0 commit comments