File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : ubuntu-latest
1514 strategy :
16- fail-fast : true
1715 matrix :
18- python-version : ["3.9", "3.10"]
19-
16+ python-version :
17+ - " 3.8"
18+ - " 3.9"
19+ - " 3.10"
20+ - " 3.11"
21+ os :
22+ - ubuntu-latest
23+ runs-on : ${{ matrix.os }}
2024 steps :
21- - uses : actions/setup-python@v2
22- with :
23- python-version : ' 3.10'
24- - uses : actions/checkout@v2
25- - uses : actions/cache@v2
25+ - uses : actions/checkout@v3
26+ - uses : actions/cache@v3
2627 with :
2728 path : ~/.cache/pip
2829 key : ${{ runner.os }}-tox-${{ hashFiles('**/tox.ini') }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/constraints.txt') }}-${{ hashFiles('**/setup.py') }}
2930 restore-keys : |
3031 ${{ runner.os }}-pip-
3132 - name : Set up Python ${{ matrix.python-version }}
32- uses : actions/setup-python@v2
33+ uses : actions/setup-python@v4
3334 with :
3435 python-version : ${{ matrix.python-version }}
3536
3637 - name : Install dependencies
3738 run : |
3839 python -m pip install --upgrade pip
39- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
40+ pip install -r requirements.txt
4041 pip install tox-gh-actions>=3.0.0
41- pip install -e .
4242 - name : Black-Check
4343 run : |
4444 tox -r -e black-check
4545 - name : Test with tox
4646 run : |
4747 tox -r
48+ env :
49+ PLATFORM : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments