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
24 changes: 17 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,28 @@ jobs:
run: |
python -m pytest tests -vv
python -m coverage xml
- name: Upload coverage
uses: codecov/[email protected]
- name: Prepare coverage artifact
uses: aio-libs/[email protected]
with:
key: ${{ matrix.pyver }}-${{ matrix.os }}-${{ matrix.no-extensions }}

test-summary:
name: Tests status
if: always()
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unit
fail_ci_if_error: false
jobs: ${{ toJSON(needs) }}
- name: Upload coverage
uses: aio-libs/[email protected]

pre-deploy:
name: Pre-Deploy
runs-on: ubuntu-latest
needs: test
needs: test-summary
# Run only on pushing a tag
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
steps:
Expand Down