Skip to content

Commit f456c48

Browse files
committed
👷 Remove pre-commit in github workflow
1 parent a7e1d34 commit f456c48

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions:
1515
contents: write
1616

1717
env:
18+
PYTHONUTF8: "1"
1819
python-version: 3.x
1920
cache: pip
2021

@@ -39,13 +40,7 @@ jobs:
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/*

0 commit comments

Comments
 (0)