From 063ee1a1a4b281590647e66d495f64ee540d44bd Mon Sep 17 00:00:00 2001 From: supernovahs Date: Wed, 12 Jun 2024 17:33:10 +0530 Subject: [PATCH] add integration.yml to run cargo test --workspace --all-features --- .github/workflows/integration.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..d62e6e58 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,28 @@ +name: Integration Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + name: Run Integration Tests + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + + - name: Cache Rust dependencies + uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true + + - name: Run tests + run: cargo test --workspace --all-features