Skip to content

Commit

Permalink
Update CI test results workflow (#495)
Browse files Browse the repository at this point in the history
Adding the required permissions to allow the workflow to write checks on pull requests*, as well as updating to a newer version of the workflow 

* see failures like so: https://github.com/metabrainz/critiquebrainz/actions/runs/6559728119/job/17815889047?pr=494#step:9:31

Co-authored-by: Kartik Ohri <[email protected]>
  • Loading branch information
MonkeyDo and amCap1712 authored Oct 31, 2023
1 parent 57823d4 commit 5ce51dd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
test:
name: Run test suite
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write

steps:
- uses: actions/checkout@v2
Expand All @@ -25,6 +28,12 @@ jobs:
- name: Run tests
run: ./test.sh

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ always() }}
with:
files: reports/tests.xml

prod:
name: Build Production Image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5ce51dd

Please sign in to comment.