mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Reduce amount of tests run in monero-tests
This commit is contained in:
14
.github/workflows/monero-tests.yaml
vendored
14
.github/workflows/monero-tests.yaml
vendored
@@ -26,8 +26,7 @@ jobs:
|
|||||||
- name: Run Unit Tests Without Features
|
- name: Run Unit Tests Without Features
|
||||||
run: cargo test --package monero-serai --lib
|
run: cargo test --package monero-serai --lib
|
||||||
|
|
||||||
- name: Run Unit Tests
|
# Doesn't run unit tests with features as the tests workflow will
|
||||||
run: cargo test --package monero-serai --all-features --lib
|
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -47,11 +46,12 @@ jobs:
|
|||||||
monero-version: ${{ matrix.version }}
|
monero-version: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Run Integration Tests Without Features
|
- name: Run Integration Tests Without Features
|
||||||
|
# https://github.com/rust-lang/cargo/issues/8396
|
||||||
run: cargo test --package monero-serai --test '*'
|
run: cargo test --package monero-serai --test '*'
|
||||||
|
|
||||||
- name: Run Integration Tests
|
- name: Run Integration Tests
|
||||||
# https://github.com/rust-lang/cargo/issues/8396
|
# Don't run if the the tests workflow also will
|
||||||
run: cargo test --package monero-serai --all-features --test '*'
|
if: ${{ matrix.version != v0.18.0.0 }}
|
||||||
|
run: |
|
||||||
- name: Run Processor's Monero Tests
|
cargo test --package monero-serai --all-features --test '*'
|
||||||
run: cargo test --package serai-processor monero
|
cargo test --package serai-processor monero
|
||||||
|
|||||||
Reference in New Issue
Block a user