File tree 4 files changed +9
-10
lines changed 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 35
35
# coveralls needs explicit token
36
36
COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
- finish :
39
- name : Coverage
38
+ coverage :
40
39
continue-on-error : ${{ github.event_name != 'push' }}
41
40
needs : test
42
41
runs-on : ubuntu-latest
51
50
env :
52
51
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
52
deploy :
54
- name : Deploy
55
53
needs : test
56
54
runs-on : ubuntu-latest
57
55
environment : pypi
@@ -78,10 +76,10 @@ jobs:
78
76
if [[ $GITHUB_REF == refs/tags/v* ]]; then
79
77
echo docker_tags=latest,${GITHUB_REF/refs\/tags\/v/} >> $GITHUB_OUTPUT
80
78
echo snap_channel=stable,candidate,edge >> $GITHUB_OUTPUT
81
- elif [[ $GITHUB_REF == refs/heads/main ]] ; then
79
+ elif test " $GITHUB_REF" = refs/heads/main; then
82
80
echo docker_tags=main >> $GITHUB_OUTPUT
83
81
echo snap_channel=candidate,edge >> $GITHUB_OUTPUT
84
- elif [[ $GITHUB_REF == refs/heads/devel ]] ; then
82
+ elif test " $GITHUB_REF" = refs/heads/devel; then
85
83
echo docker_tags=devel >> $GITHUB_OUTPUT
86
84
echo snap_channel=edge >> $GITHUB_OUTPUT
87
85
fi
Original file line number Diff line number Diff line change 39
39
- tabulate
40
40
- tqdm
41
41
- repo : https://github.com/PyCQA/flake8
42
- rev : 7.1.1
42
+ rev : 7.2.0
43
43
hooks :
44
44
- id : flake8
45
45
args : [-j8]
58
58
args : [-i]
59
59
additional_dependencies : [toml]
60
60
- repo : https://github.com/PyCQA/isort
61
- rev : 6.0.0
61
+ rev : 6.0.1
62
62
hooks :
63
63
- id : isort
Original file line number Diff line number Diff line change 1
1
* files: *
2
- MPLv2.0 2016-2024 (c) Casper da Costa-Luis
2
+ MPLv2.0 2016-2025 (c) Casper da Costa-Luis
3
3
[casperdcl](https://github.com/casperdcl).
4
4
5
5
Original file line number Diff line number Diff line change 17
17
prebuildclean
18
18
clean
19
19
toxclean
20
+ install_build
20
21
install_dev
21
22
install
22
23
build
@@ -86,12 +87,12 @@ prebuildclean:
86
87
coverclean :
87
88
@+python -c " import os; os.remove('.coverage') if os.path.exists('.coverage') else None"
88
89
@+python -c " import os, glob; [os.remove(i) for i in glob.glob('.coverage.*')]"
89
- @+python -c " import shutil; shutil.rmtree('tests/__pycache__', True)"
90
90
@+python -c " import shutil; shutil.rmtree('gitfame/__pycache__', True)"
91
+ @+python -c " import shutil; shutil.rmtree('tests/__pycache__', True)"
91
92
clean :
92
93
@+python -c " import os, glob; [os.remove(i) for i in glob.glob('*.py[co]')]"
93
- @+python -c " import os, glob; [os.remove(i) for i in glob.glob('tests/*.py[co]')]"
94
94
@+python -c " import os, glob; [os.remove(i) for i in glob.glob('gitfame/*.py[co]')]"
95
+ @+python -c " import os, glob; [os.remove(i) for i in glob.glob('tests/*.py[co]')]"
95
96
toxclean :
96
97
@+python -c " import shutil; shutil.rmtree('.tox', True)"
97
98
You can’t perform that action at this time.
0 commit comments