Skip to content

Commit

Permalink
Improve github workflows (#4016)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ssbarnea and pre-commit-ci[bot] authored Feb 12, 2024
1 parent b268cc1 commit 885cfc1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ jobs:
fail_ci_if_error: true

- name: Archive logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: logs.zip
name: logs-${{ matrix.name }}.zip
path: .tox/**/log/

- name: Report failure if git reports dirty status
Expand Down Expand Up @@ -208,6 +208,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Merge logs into a single archive
uses: actions/upload-artifact/merge@v4
with:
name: logs.zip
pattern: logs*.zip
delete-merged: true

- name: Check codecov.io status
if: github.event_name == 'pull_request'
uses: coactions/codecov-status@main

- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
Expand Down

0 comments on commit 885cfc1

Please sign in to comment.