This commit is contained in:
Anatoly Laskaris 2023-11-02 19:25:48 +02:00
parent f6c8536d1d
commit f37e1529af
2 changed files with 1 additions and 16 deletions

View File

@ -15,6 +15,5 @@ slow-timeout = { period = "60s", terminate-after = 2 }
leak-timeout = "100ms"
[profile.ci]
test-threads = 6
[profile.ci.junit]
path = "junit.xml"

View File

@ -91,27 +91,13 @@ jobs:
-p marine \
-p mrepl
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- name: Run cargo nextest
run: cargo llvm-cov nextest --release -v --all-features --profile ci --lcov --output-path lcov.info \
run: cargo nextest --release -v --all-features --profile ci \
-p marine-core \
-p marine-runtime
- name: Coveralls upload
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: lcov.info
- name: Archive code coverage results
if: github.event.pull_request.head.repo.fork != true
uses: actions/upload-artifact@v3
with:
name: code-coverage-report.zip
path: lcov.info
- name: Upload test report
uses: dorny/test-reporter@v1
if: (success() || failure()) && !github.event.pull_request.head.repo.fork