forked from ROMEO/nexosim
Run integration tests on both ST and MT executors
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -3,7 +3,7 @@ name: CI
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main, dev]
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
RUSTFLAGS: -Dwarnings
|
||||
@ -69,7 +69,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Dry-run cargo test (Loom)
|
||||
run: cargo test --no-run --tests --all-features
|
||||
run: cargo test --no-run --lib --all-features
|
||||
env:
|
||||
RUSTFLAGS: --cfg asynchronix_loom
|
||||
|
||||
|
3
.github/workflows/loom.yml
vendored
3
.github/workflows/loom.yml
vendored
@ -1,6 +1,7 @@
|
||||
name: Loom
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [ main ]
|
||||
@ -30,6 +31,6 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Run cargo test (Loom)
|
||||
run: cargo test --tests --release
|
||||
run: cargo test --lib --release
|
||||
env:
|
||||
RUSTFLAGS: --cfg asynchronix_loom
|
||||
|
Reference in New Issue
Block a user