File tree Expand file tree Collapse file tree 3 files changed +16
-33
lines changed
Expand file tree Collapse file tree 3 files changed +16
-33
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- python-version : [ "3.9", "3.11" ]
21- matplotlib-version : [ "3.5.3 ", "3.7.1 " ]
20+ python-version : [3.11, 3.13 ]
21+ matplotlib-version : [ "3.7.5 ", "3.10.0 " ]
2222
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
2525
2626 - name : Set up Python
27- uses : actions/setup-python@v4
27+ uses : actions/setup-python@v5
2828 with :
2929 python-version : " ${{ matrix.python-version }}"
3030 architecture : x64
4242 run : pytest --cov-report=xml
4343
4444 - name : Upload coverage report
45- uses : codecov/codecov-action@v3
45+ uses : codecov/codecov-action@v5
4646 with :
4747 files : coverage.xml
4848 flags : " Matplotlib-${{ matrix.matplotlib-version}}-Python-${{ matrix.python-version }}"
49+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,28 +13,15 @@ jobs:
1313 run-linters :
1414 runs-on : ubuntu-latest
1515
16-
1716 steps :
18- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1918
2019 - name : Set up Python
2120 id : setup
22- uses : actions/setup-python@v4
21+ uses : actions/setup-python@v5
2322 with :
24- python-version : " 3.x"
23+ python-version : 3.x
2524 architecture : x64
2625
27- - name : Check import ordering with isort
28- id : isort
29- continue-on-error : true
30- uses : isort/isort-action@master
31-
32- - name : Check code style with Black
33- id : black
34- continue-on-error : true
35- uses : psf/black@stable
36-
37- - name : Check overall status
38- run : |
39- if [ ${{steps.isort.outcome}} = "failure" ]; then exit 1; fi
40- if [ ${{steps.black.outcome}} = "failure" ]; then exit 1; fi
26+ - name : Check with ruff
27+ uses : astral-sh/ruff-action@v3
Original file line number Diff line number Diff line change @@ -14,18 +14,12 @@ jobs:
1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - uses : actions/checkout@v2
18-
19- - name : Decide on Python version
20- id : mpl-main-nep29
21- 22- with :
23- token : ${{ secrets.GITHUB_TOKEN }}
17+ - uses : actions/checkout@v4
2418
2519 - name : Set up Python
26- uses : actions/setup-python@v2
20+ uses : actions/setup-python@v5
2721 with :
28- python-version : " ${{ steps.mpl-main-nep29.outputs.max-python }} "
22+ python-version : 3.11
2923 architecture : x64
3024
3125 - name : Install system libraries
4741 run : pytest --cov-report=xml
4842
4943 - name : Upload coverage report
50- uses : codecov/codecov-action@v2.1.0
44+ uses : codecov/codecov-action@v5
5145 with :
5246 files : coverage.xml
5347 name : " Matplob main branch ${{ steps.mpl-main-version.outputs.matplotlib-version }}"
48+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments