-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbc3287
commit 12d5265
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ on: | |
- master # Only run when PR is raised for master | ||
|
||
permissions: | ||
pull-requests: write # for writting comment for coverage | ||
checks: write # for publishing test results | ||
pull-requests: write # for writting comment for coverage & test result | ||
|
||
# This ensures for a single PR one job is run in case of multiple runs | ||
concurrency: | ||
|
@@ -24,6 +25,13 @@ jobs: | |
# Run Tests | ||
- name: Run Tests | ||
run: docker-compose -f "docker-compose.test.yml" up --build | ||
# Publish Test results | ||
- name: Publish Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
if: always() | ||
with: | ||
files: | | ||
./temp/testresults/test-results.xml | ||
# Code Coverage | ||
- name: Code Coverage Report | ||
uses: irongut/[email protected] | ||
|
@@ -42,4 +50,4 @@ jobs: | |
if: github.event_name == 'pull_request' | ||
with: | ||
recreate: true | ||
path: code-coverage-results.md | ||
path: code-coverage-results.md |