Repository navigation
ci(xbox): publish coverage from xemu guest tests #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fd94563
ci(xbox): publish coverage from xemu guest tests
ReenigneArcher 55776ce
fix(ci): keep native and xemu coverage collection independent
ReenigneArcher 6e8dbda
fix(ci): install the Linux xemu runtime dependencies
ReenigneArcher c0aa8c8
test(xbox): run the shared suite in xemu on every toolchain
ReenigneArcher bc7b35e
fix(xbox): connect guest stdout and require C++17 for tests
ReenigneArcher 48e334b
fix(ci): bypass release API limits and use llvmpipe for xemu
ReenigneArcher b0c08d6
ci: publish test artifacts through a dedicated coverage workflow
ReenigneArcher 0e6d7c7
ci: install coverage tools from locked wheels
ReenigneArcher 7e64f0f
style(ci): standardize setup step names
ReenigneArcher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| --- | ||
| name: CI-Coverage | ||
| permissions: {} | ||
|
|
||
| on: | ||
| workflow_call: | ||
| secrets: | ||
| CODECOV_TOKEN: | ||
| required: false | ||
|
|
||
| jobs: | ||
| upload: | ||
| name: ${{ matrix.platform }} | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| platform: | ||
| - Linux-aarch64 | ||
| - Linux-x86_64 | ||
| - macOS-arm64 | ||
| - macOS-x86_64 | ||
| - Windows-AMD64 | ||
| - Windows-ARM64 | ||
| - Xbox-guest-xemu-Linux | ||
| - Xbox-guest-xemu-macOS | ||
| - Xbox-guest-xemu-Windows | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Download test and coverage artifact | ||
| uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 | ||
| with: | ||
| name: Tests-${{ matrix.platform }} | ||
| path: _coverage | ||
|
|
||
| - name: Upload test coverage | ||
| if: hashFiles('_coverage/coverage.info') != '' | ||
| uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 | ||
| with: | ||
| disable_search: true | ||
| fail_ci_if_error: true | ||
| files: _coverage/coverage.info | ||
| report_type: coverage | ||
| flags: ${{ matrix.platform }} | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
|
|
||
| - name: Upload test results | ||
| if: ${{ !cancelled() && hashFiles('_coverage/test_results.xml') != '' }} | ||
| uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 | ||
| with: | ||
| disable_search: true | ||
| fail_ci_if_error: true | ||
| files: _coverage/test_results.xml | ||
| report_type: test_results | ||
| flags: ${{ matrix.platform }} | ||
| token: ${{ secrets.CODECOV_TOKEN }} |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.