Skip to content

Add a timeout to graceful termination #2242

Add a timeout to graceful termination

Add a timeout to graceful termination #2242

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install cargo-nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- name: Run tests
run: cargo nextest run
- name: Run doctests
run: cargo test --doc
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-scratch
path: test-scratch