-
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.
Fixes two problems - Previous test config requires nightly, so an error is received if "stable" does not happen to be "nightly" as well - We anyway did not provide enough arguments, but no error was given Solution is to just run coverage and remove the JSON report format. Everything is anyhow present in log. Also fixing rust code so tests pass and errors make test fail
- Loading branch information
Showing
5 changed files
with
41 additions
and
44 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 |
---|---|---|
|
@@ -78,31 +78,13 @@ jobs: | |
crate: cargo-strip | ||
version: latest | ||
|
||
- uses: actions-rs/[email protected] | ||
with: | ||
crate: cargo2junit | ||
version: latest | ||
|
||
- name: Run Tests | ||
- name: Show toolchain information | ||
working-directory: ${{github.workspace}} | ||
run: | | ||
cargo test --all-targets -- -Z unstable-options --report-time --format json | cargo2junit > results.xml; | ||
# - name: Publish test results as PR comment | ||
# uses: EnricoMi/publish-unit-test-result-action@v1 | ||
# if: github.event_name == 'pull_request' | ||
# with: | ||
# check_name: Test Results | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# files: results.xml | ||
|
||
- name: Upload testing report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Unit test results | ||
path: results.xml | ||
rustup toolchain list | ||
cargo --version | ||
- name: Run code coverage | ||
- name: Run tests and report code coverage | ||
run: | | ||
cargo tarpaulin -o Xml | ||
|
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
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
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
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