File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ permissions:
15
15
contents : write
16
16
17
17
env :
18
+ PYTHONUTF8 : " 1"
18
19
python-version : 3.x
19
20
cache : pip
20
21
39
40
- name : Install dependencies
40
41
run : |
41
42
pip install -e '.[dev]'
42
- - name : Test for Linux and macOS
43
- if : runner.os != 'Windows'
44
- run : |
45
- pytest --cov .
46
- pre-commit run -a
47
- - name : Test for Windows
48
- if : runner.os == 'Windows'
43
+ - name : Test
49
44
run : |
50
45
pytest --cov
51
46
- uses : codecov/codecov-action@v3
@@ -74,13 +69,13 @@ jobs:
74
69
run : |
75
70
python -m build
76
71
- uses : actions/upload-artifact@v3
77
- if : runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
72
+ if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
78
73
with :
79
74
path : |
80
75
dist/*
81
76
build/resources/*
82
77
- uses : softprops/action-gh-release@v1
83
- if : runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
78
+ if : startsWith(github.ref, 'refs/tags/')
84
79
with :
85
80
files : |
86
81
dist/*
You can’t perform that action at this time.
0 commit comments