Extend the test workflow to also test against Monero v14 (v0.17)

This commit is contained in:
Luke Parker
2022-07-28 23:31:27 -04:00
parent bba93a64c2
commit 33c55b8506
2 changed files with 33 additions and 3 deletions

View File

@@ -51,6 +51,30 @@ jobs:
- name: Run tests
run: cargo test --all-features
# Test the Monero code against protocol v14 (node v17) as well
test-monero14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Build Dependencies
uses: ./.github/actions/build-dependencies
- name: Monero Regtest Daemon
uses: ./.github/actions/monero
with:
version: v0.17.3.2
- name: Install Rust
uses: ./.github/actions/cached-rust
- name: Run tests
run: |
(cd coins/monero && cargo test --all-features)
(cd processor && cargo test --all-features monero)
fmt:
runs-on: ubuntu-latest
steps: