Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/loom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,19 @@ jobs:
working-directory: tokio
env:
SCOPE: ${{ matrix.scope }}

loom-cancellation-token:
name: loom cancellation_token tests (tokio-util)
# Run only in tokio-rs repo and on PRs with label or pushes to master/tokio-* branches
if: github.repository_owner == 'tokio-rs' && (contains(github.event.pull_request.labels.*.name, 'R-loom-sync-util') || (github.base_ref == null))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust ${{ env.rust_stable }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.rust_stable }}
- uses: Swatinem/rust-cache@v2
- name: Run cancellation_token loom tests
working-directory: tokio-util
run: cargo test --release --features full -- --nocapture sync::cancellation_token::CancellationToken
Loading