Skip to content

Commit

Permalink
Reports Group - v0 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoanm authored Mar 31, 2024
1 parent c1cc09d commit da4d27a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: 'CI'


on: # Build any PRs and main branch changes
workflow_dispatch: # Allows to run the workflow manually from the Actions tab
pull_request:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-CI-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Create "unit tests" reports directory
if: ${{ env.COVERAGE_TYPE == 'xdebug' }}
id: unit-tests-coverage-group
uses: yoanm/temp-reports-group-workspace/gha-create@improve
uses: yoanm/temp-reports-group-workspace/gha-create@v0
with:
name: unit-tests
format: clover
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Create "functional tests" coverage group
if: ${{ env.COVERAGE_TYPE == 'xdebug' }}
id: functional-tests-coverage-group
uses: yoanm/temp-reports-group-workspace/gha-create@improve
uses: yoanm/temp-reports-group-workspace/gha-create@v0
with:
name: functional-tests
format: clover
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/reusable-coverage-upload-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
checks: write # For the check run creation !
steps:
- name: 'Check run ○'
uses: yoanm/temp-reports-group-workspace/gha-attach-check-run-to-triggering-workflow@improve
uses: yoanm/temp-reports-group-workspace/gha-attach-check-run-to-triggering-workflow@v0
with:
name: 'Fetch coverage info'
fails-on-triggering-workflow-failure: true

- uses: yoanm/temp-reports-group-workspace/gha-fetch-workflow-metadata@improve
- uses: yoanm/temp-reports-group-workspace/gha-fetch-workflow-metadata@v0
id: fetch-workflow-metadata

outputs:
Expand All @@ -32,7 +32,7 @@ jobs:
codacy-uploader:
name: Codacy
needs: [fetch-info]
uses: yoanm/temp-reports-group-workspace/.github/workflows/codacy-upload-from-artifacts.yml@improve
uses: yoanm/temp-reports-group-workspace/.github/workflows/codacy-upload-from-artifacts.yml@v0
permissions:
contents: read
checks: write # For the check run creation !
Expand All @@ -41,7 +41,6 @@ jobs:
with:
artifacts-pattern: coverage-groups-*
run-id: ${{ needs.fetch-info.outputs.run-id }}
override-job-name: "Codacy title"
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
# force-uploader-language: ...
# force-uploader-coverage-parser: ...
Expand All @@ -50,7 +49,7 @@ jobs:
codecov-uploader:
name: Codecov
needs: [fetch-info]
uses: yoanm/temp-reports-group-workspace/.github/workflows/codecov-upload-from-artifacts.yml@improve
uses: yoanm/temp-reports-group-workspace/.github/workflows/codecov-upload-from-artifacts.yml@v0
permissions:
contents: read
checks: write # For the check run creation !
Expand All @@ -59,7 +58,6 @@ jobs:
with:
artifacts-pattern: coverage-groups-*
run-id: ${{ needs.fetch-info.outputs.run-id }}
override-job-name: "Codecov title"
force-git-commit: ${{ needs.fetch-info.outputs.commit-sha }}
force-git-branch: ${{ needs.fetch-info.outputs.branch }}
force-gh-pr: ${{ needs.fetch-info.outputs.pr-number }}
Expand Down

0 comments on commit da4d27a

Please sign in to comment.