From ff50658628192978c9fa9250db7fdaebdd5df309 Mon Sep 17 00:00:00 2001 From: Glyphack Date: Thu, 29 Aug 2024 23:19:38 +0200 Subject: [PATCH] Run compatibility tests on CI Signed-off-by: Shaygan --- .github/workflows/test.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fdd078d..f639a41a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,13 +23,12 @@ jobs: with: rust-version: stable components: rustfmt, clippy - # Required for compatibility tests + # Required for compatibility unit tests - uses: actions/setup-python@v5 with: python-version: '3.12' - name: Build run: cargo build - - name: Run tests env: RUST_BACKTRACE: 1 @@ -38,6 +37,24 @@ jobs: run: make format-check - name: clippy run: make lint + compatibility-test-complete: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: Swatinem/rust-cache@v2 + - name: setup toolchain + uses: hecrj/setup-rust-action@v2 + with: + rust-version: stable + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - name: Run Compatibility Tests + run: | + cargo run --bin enderpy-compat + # coverage: # name: coverage # runs-on: ubuntu-latest