Skip to content

Commit

Permalink
👷 Remove pre-commit in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Mar 21, 2023
1 parent a7e1d34 commit f456c48
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ permissions:
contents: write

env:
PYTHONUTF8: "1"
python-version: 3.x
cache: pip

Expand All @@ -39,13 +40,7 @@ jobs:
- name: Install dependencies
run: |
pip install -e '.[dev]'
- name: Test for Linux and macOS
if: runner.os != 'Windows'
run: |
pytest --cov .
pre-commit run -a
- name: Test for Windows
if: runner.os == 'Windows'
- name: Test
run: |
pytest --cov
- uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -74,13 +69,13 @@ jobs:
run: |
python -m build
- uses: actions/upload-artifact@v3
if: runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
path: |
dist/*
build/resources/*
- uses: softprops/action-gh-release@v1
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*
Expand Down

0 comments on commit f456c48

Please sign in to comment.