connect-tests #17
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: connect-tests | |
permissions: | |
contents: read | |
on: | |
schedule: | |
# We only run connectivity tests on a weekly basis, choosing a weekday and | |
# a time slightly offset from the top of the hour. | |
- cron: '15 12 * * 3' | |
jobs: | |
build: | |
name: Connectivity Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# test a bunch of toolchains on ubuntu | |
rust: | |
- stable | |
- beta | |
- nightly | |
- "1.60" # MSRV | |
os: [ubuntu-20.04] | |
# but only stable on macos/windows (slower platforms) | |
include: | |
- os: macos-latest | |
rust: stable | |
- os: windows-latest | |
rust: stable | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Install ${{ matrix.rust }} toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
- run: cargo build | |
- run: cargo test --manifest-path=connect-tests/Cargo.toml | |
env: | |
RUST_BACKTRACE: 1 | |
- run: cargo run --bin simpleclient | |
- run: cargo run --bin limitedclient | |
- run: cargo run --bin simple_0rtt_client |