From 4e0ea22180aaa1377dcd67da9637cdd1ad020dde Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 27 Jan 2024 19:30:24 +0000 Subject: [PATCH] CI: run tests (#5) Co-authored-by: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com> --- .github/workflows/rustls-rustcrypto.yml | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/rustls-rustcrypto.yml b/.github/workflows/rustls-rustcrypto.yml index 864a595..239ccff 100644 --- a/.github/workflows/rustls-rustcrypto.yml +++ b/.github/workflows/rustls-rustcrypto.yml @@ -61,17 +61,16 @@ jobs: components: rustfmt - run: cargo fmt --all -- --check -# TODO(tarcieri): run tests in CI -# test: -# strategy: -# matrix: -# toolchain: -# - stable -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v4 -# - uses: RustCrypto/actions/cargo-cache@master -# - uses: dtolnay/rust-toolchain@master -# with: -# toolchain: ${{ matrix.toolchain }} -# - run: cargo test + test: + strategy: + matrix: + toolchain: + - stable + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: RustCrypto/actions/cargo-cache@master + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ matrix.toolchain }} + - run: cargo test --features tls12