@@ -22,10 +22,10 @@ jobs:
22
22
outputs :
23
23
changes : ${{ steps.changes.outputs.src }}
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v4
26
26
with :
27
27
fetch-depth : 0
28
- - uses : dorny/paths-filter@v2
28
+ - uses : dorny/paths-filter@v3
29
29
id : changes
30
30
with :
31
31
filters : |
36
36
src:
37
37
- *python
38
38
- '.github/**/*.yml'
39
+ - 'pyproject.toml'
39
40
- 'setup.cfg'
40
41
- 'requirements.txt'
41
- - '.coveragerc'
42
42
- '.pre-commit-config.yaml'
43
43
44
44
style :
@@ -47,11 +47,11 @@ jobs:
47
47
runs-on : ubuntu-latest
48
48
if : ${{ needs.changes.outputs.changes == 'true' }}
49
49
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
55
55
56
56
test :
57
57
needs :
@@ -62,27 +62,28 @@ jobs:
62
62
strategy :
63
63
matrix :
64
64
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"
69
70
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 }}
86
87
87
88
all-checks :
88
89
if : ${{ always() }}
@@ -100,7 +101,7 @@ jobs:
100
101
if : ${{ needs.changes.outputs.changes == 'true' && needs.all-checks.result == 'success' }}
101
102
runs-on : ubuntu-latest
102
103
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