mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-11-21 21:56:15 +00:00
Merge d7385f789b into fc508bb1a9
This commit is contained in:
3
.github/workflows/run-unit-tests.yml
vendored
3
.github/workflows/run-unit-tests.yml
vendored
@@ -12,6 +12,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pick-runner:
|
pick-runner:
|
||||||
|
if: github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
runner: ${{ steps.choose.outputs.use-runner }}
|
runner: ${{ steps.choose.outputs.use-runner }}
|
||||||
@@ -40,7 +41,7 @@ jobs:
|
|||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
- name: Run doctests
|
- name: Run doctests
|
||||||
run: cargo test --doc --all-features --workspace --release
|
run: cargo test --lib --doc --all-features --workspace --release
|
||||||
|
|
||||||
- name: Run unit tests with code coverage
|
- name: Run unit tests with code coverage
|
||||||
run: cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info
|
run: cargo llvm-cov --all-features --release --workspace --lcov --output-path lcov.info
|
||||||
|
|||||||
Reference in New Issue
Block a user