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:
1515 contents : write
1616
1717env :
18+ PYTHONUTF8 : " 1"
1819 python-version : 3.x
1920 cache : pip
2021
3940 - name : Install dependencies
4041 run : |
4142 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
4944 run : |
5045 pytest --cov
5146 - uses : codecov/codecov-action@v3
@@ -74,13 +69,13 @@ jobs:
7469 run : |
7570 python -m build
7671 - uses : actions/upload-artifact@v3
77- if : runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
72+ if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
7873 with :
7974 path : |
8075 dist/*
8176 build/resources/*
8277 - uses : softprops/action-gh-release@v1
83- if : runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
78+ if : startsWith(github.ref, 'refs/tags/')
8479 with :
8580 files : |
8681 dist/*
You can’t perform that action at this time.
0 commit comments