No timeout for realtime streams #481
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
# Cache cargo registry, index, and build directories | |
- name: Cache cargo | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo | |
key: cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Build | |
run: cargo build --verbose | |
- name: Generate test results | |
run: | | |
mkdir test-results; | |
cargo install cargo2junit; | |
cargo +nightly test -- -Z unstable-options --format json | cargo2junit > test-results/tests.xml; | |
- name: Create Github test summary | |
uses: test-summary/action@dist | |
with: | |
paths: test-results/**/*.xml | |
if: always() |