Skip to content

Commit

Permalink
Get rid of separate report-tests job
Browse files Browse the repository at this point in the history
  • Loading branch information
gbruer15 committed Sep 4, 2024
1 parent 840cea9 commit 280850d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ jobs:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.isDraft }}
uses: ./.github/workflows/ci-tests.yaml
secrets: inherit
report-tests:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.isDraft }}
uses: ./.github/workflows/report-tests.yaml
needs: ci-tests
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,16 @@ jobs:
with:
name: coverage-${{ env.JOB_NAME }}.info
path: "coverage-lcov.info"
report:
permissions:
contents: read
actions: read
checks: write
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
with:
artifact: /report-(.*).xml/
name: Test results $1
path: '*.xml'
reporter: java-junit
1 change: 0 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
if: inputs.target_ref
run: |
echo 'target_ref=${{ inputs.target_ref }}' >> $GITHUB_ENV
echo 'formatter_branch=auto-formatter/${{ inputs.target_ref }}' >> $GITHUB_ENV
docs-build:
name: Build documentation
runs-on: ubuntu-latest
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/report-tests.yaml

This file was deleted.

0 comments on commit 280850d

Please sign in to comment.