@@ -22,10 +22,10 @@ jobs:
2222 outputs :
2323 changes : ${{ steps.changes.outputs.src }}
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v4
2626 with :
2727 fetch-depth : 0
28- - uses : dorny/paths-filter@v2
28+ - uses : dorny/paths-filter@v3
2929 id : changes
3030 with :
3131 filters : |
3636 src:
3737 - *python
3838 - '.github/**/*.yml'
39+ - 'pyproject.toml'
3940 - 'setup.cfg'
4041 - 'requirements.txt'
41- - '.coveragerc'
4242 - '.pre-commit-config.yaml'
4343
4444 style :
@@ -47,11 +47,11 @@ jobs:
4747 runs-on : ubuntu-latest
4848 if : ${{ needs.changes.outputs.changes == 'true' }}
4949 steps :
50- - uses : actions/checkout@v2
51- - uses : actions/setup-python@v2
52- with :
53- python-version : 3.8
54- - uses : pre-commit/action@v2 .0.0
50+ - uses : actions/checkout@v4
51+ - uses : actions/setup-python@v5
52+ with :
53+ python-version : " 3.13 "
54+ - uses : pre-commit/action@v3 .0.1
5555
5656 test :
5757 needs :
@@ -62,27 +62,28 @@ jobs:
6262 strategy :
6363 matrix :
6464 python-version :
65- - 3.8
66- - 3.9
67- - ' 3.10'
68- - ' 3.11'
65+ - " 3.9"
66+ - " 3.10"
67+ - " 3.11"
68+ - " 3.12"
69+ - " 3.13"
6970 steps :
70- - uses : actions/checkout@v2
71- - uses : actions/setup-python@v2
72- with :
73- python-version : ${{ matrix.python-version }}
74- - name : Install dependencies
75- run : |
76- python -m pip install --upgrade pip
77- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
78- - name : Test with pytest
79- run : |
80- pytest -v tests/ --cov=cons --cov-report=xml:./coverage.xml
81- - name : Coveralls
82- uses : AndreMiras/coveralls-python- action@develop
83- with :
84- parallel : true
85- flag-name : run-${{ matrix.python-version }}
71+ - uses : actions/checkout@v4
72+ - uses : actions/setup-python@v5
73+ with :
74+ python-version : ${{ matrix.python-version }}
75+ - name : Install dependencies
76+ run : |
77+ python -m pip install --upgrade pip
78+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
79+ - name : Test with pytest
80+ run : |
81+ pytest -v tests/ --cov=cons --cov-report=xml:./coverage.xml
82+ - name : Coveralls
83+ uses : coverallsapp/github- action@v2
84+ with :
85+ parallel : true
86+ flag-name : run-${{ matrix.python-version }}
8687
8788 all-checks :
8889 if : ${{ always() }}
@@ -100,7 +101,7 @@ jobs:
100101 if : ${{ needs.changes.outputs.changes == 'true' && needs.all-checks.result == 'success' }}
101102 runs-on : ubuntu-latest
102103 steps :
103- - name : Coveralls Finished
104- uses : AndreMiras/coveralls-python- action@develop
105- with :
106- parallel-finished : true
104+ - name : Coveralls Finished
105+ uses : coverallsapp/github- action@v2
106+ with :
107+ parallel-finished : true
0 commit comments