File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 strategy :
99 max-parallel : 4
1010 matrix :
11- python-version : [3.7]
11+ python-version : [3.10 , 3.11] # Using [3.10, 3.11] to test multiple versions
1212
1313 steps :
14- - uses : actions/checkout@v1
14+ - uses : actions/checkout@v3
1515
1616 - name : Set up Python ${{ matrix.python-version }}
17- uses : actions/setup-python@v1
17+ uses : actions/setup-python@v4
1818 with :
1919 python-version : ${{ matrix.python-version }}
2020
2121 - name : Install dependencies
2222 run : |
2323 sudo apt-get install libgit2-dev -y
2424 python -m pip install --upgrade pip
25- pip install -r requirements.txt # Ensure pytest is included in requirements.txt
25+ pip install -r requirements.txt
2626
2727 - name : Lint with flake8
2828 run : |
3232
3333 - name : Test with pytest
3434 run : |
35- pip install pytest # This can be omitted if pytest is in requirements.txt
36- pytest -v # Run pytest with verbose output
35+ pip install pytest
36+ pytest -v
You can’t perform that action at this time.
0 commit comments