-
Notifications
You must be signed in to change notification settings - Fork 51
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
ce6b952
commit 5599b81
Showing
2 changed files
with
31 additions
and
12 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 |
---|---|---|
|
@@ -146,7 +146,7 @@ jobs: | |
recreate: true | ||
path: code-coverage-results.md | ||
|
||
pr-comment-test-results: | ||
pr-comment-test-results: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
@@ -160,7 +160,17 @@ jobs: | |
- name: run ls recursively | ||
run: ls -R | ||
|
||
- name: Add Test Results PR Comment | ||
- name: Add Test Results PR Comment (Windows) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/**/*.trx" | ||
trx_files: "${{ github.workspace }}/TestResults-windows-latest/**/*.trx" | ||
|
||
- name: Add Test Results PR Comment (Ubuntu) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/TestResults-ubuntu-latest/**/*.trx" | ||
|
||
- name: Add Test Results PR Comment (MacOS) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/TestResults-macos-latest/**/*.trx" |
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 |
---|---|---|
|
@@ -40,18 +40,17 @@ on: | |
- '.github/workflows/test.yml' | ||
|
||
jobs: | ||
test-macos: | ||
uses: ./.github/workflows/test-macos.yml | ||
test-ubuntu: | ||
uses: ./.github/workflows/test-ubuntu.yml | ||
test-windows: | ||
uses: ./.github/workflows/test-windows.yml | ||
test-ubuntu: | ||
uses: ./.github/workflows/test-ubuntu.yml | ||
test-macos: | ||
uses: ./.github/workflows/test-macos.yml | ||
coverage: | ||
runs-on: ubuntu-latest | ||
needs: [test-windows] | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
|
||
- name: Combine Coverage Reports # This is because one report is produced per project, and we want one result for all of them. | ||
uses: danielpalme/[email protected] | ||
with: | ||
|
@@ -112,15 +111,25 @@ jobs: | |
pull-requests: write | ||
contents: read | ||
checks: write | ||
needs: test-windows | ||
needs: [test-windows, test-ubuntu, test-macOS] | ||
if: github.event_name == 'pull_request' | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
- uses: actions/download-artifact@v4 | ||
|
||
- name: run ls recursively | ||
run: ls -R | ||
|
||
- name: Add Test Results PR Comment | ||
- name: Add Test Results PR Comment (Windows) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/TestResults-Windows/**/*.trx" | ||
|
||
- name: Add Test Results PR Comment (Ubuntu) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/TestResults-Ubuntu/**/*.trx" | ||
|
||
- name: Add Test Results PR Comment (MacOS) | ||
uses: EnricoMi/[email protected] | ||
with: | ||
trx_files: "${{ github.workspace }}/**/*.trx" | ||
trx_files: "${{ github.workspace }}/TestResults-macOS/**/*.trx" |