Skip to content

Commit

Permalink
Run compatibility tests on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Shaygan <[email protected]>
  • Loading branch information
Glyphack committed Aug 29, 2024
1 parent a39fd54 commit ff50658
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ff50658

Please sign in to comment.