2020 strategy :
2121 fail-fast : false
2222 matrix :
23- python-version : [3.8, 3.9 , "3.10 ", "3.11 "]
23+ python-version : ["3.9", "3.10" , "3.11 ", "3.12", "3.13 "]
2424
2525 steps :
2626 - uses : actions/checkout@v1
3535
3636 - name : Install dependencies
3737 run : |
38- pip install -e .
39- pip install isort flake8 black pytest pytest-cov
38+ pip install -r dev-requirements.txt
4039
4140 - name : Run tests
4241 run : |
4645 run : |
4746 echo "Running linters"
4847
49- pip install black
5048 flake8 .
5149 isort --check-only . 2>&1
5250 black --check . 2>&1
@@ -67,34 +65,34 @@ jobs:
6765 rm -rf junit
6866 rm -rf deps
6967 pip install build
70- if : matrix.python-version == 3.11
68+ if : matrix.python-version == 3.12
7169
7270 - name : Create distribution package
7371 run : python -m build
74- if : matrix.python-version == 3.11
72+ if : matrix.python-version == 3.12
7573
7674 - name : Upload distribution package
77- uses : actions/upload-artifact@master
75+ uses : actions/upload-artifact@v4
7876 with :
7977 name : dist
8078 path : dist
81- if : matrix.python-version == 3.11
79+ if : matrix.python-version == 3.12
8280
8381 publish :
8482 runs-on : ubuntu-latest
8583 needs : build
8684 if : github.event_name == 'release'
8785 steps :
8886 - name : Download a distribution artifact
89- uses : actions/download-artifact@v2
87+ uses : actions/download-artifact@v4
9088 with :
9189 name : dist
9290 path : dist
9391
94- - name : Use Python 3.11
92+ - name : Use Python 3.12
9593 uses : actions/setup-python@v1
9694 with :
97- python-version : ' 3.11 '
95+ python-version : ' 3.12 '
9896
9997 - name : Install dependencies
10098 run : |
0 commit comments