Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,9 @@ jobs:
- name: Run tests
run: python -m tox -e flake8 -- --onlyfuzz --no-cov -n auto

check_release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
- name: Test changelog & version
run: python tests/check_changelog_and_version.py

release:
runs-on: ubuntu-latest
needs: [pyright, test, check_release]
needs: [pyright, test]
if: github.repository == 'python-trio/flake8-async' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
Expand All @@ -88,4 +77,5 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
python tests/check_changelog_and_version.py --ensure-tag
python -m build && twine upload --skip-existing dist/*
Loading