Skip to content

[WEEKLY RELEASE] HotShot - rc-0.5.79 #46

[WEEKLY RELEASE] HotShot - rc-0.5.79

[WEEKLY RELEASE] HotShot - rc-0.5.79 #46

Workflow file for this run

name: Test
on:
push:
branches:
- main
- release-*
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
env:
RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"'
RUST_LOG: info
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build
run: cargo build --workspace --release
- name: Run doctests
run: cargo test --workspace --release --doc
- name: Run tests
run: |
cargo nextest run --workspace --release -j 2 \
--lib --bins --tests --benches --all-features \
--verbose --no-fail-fast
timeout-minutes: 60
test-ignored:
if: false
runs-on: ubuntu-latest
env:
RUSTFLAGS: '--cfg async_executor_impl="async-std" --cfg async_channel_impl="async-std"'
RUST_MIN_STACK: 64000000
RUST_LOG: info
steps:
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}
- uses: actions/checkout@v4
name: Checkout Repository
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
- name: Run slow tests
run: |
cargo nextest run --workspace --release -j 1 \
--lib --bins --tests --benches --all-features \
--verbose --no-fail-fast --run-ignored only
timeout-minutes: 60