mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
Add RUST_BACKTRACE=1 to .github
Should help resolve the coordinator tests, which are failing in the current CI. Presumably a timeout which is too low for the CI's slower runners.
This commit is contained in:
parent
e680eabb62
commit
f366d65d4b
9 changed files with 14 additions and 14 deletions
2
.github/workflows/coins-tests.yml
vendored
2
.github/workflows/coins-tests.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --all-features \
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
||||
-p bitcoin-serai \
|
||||
-p ethereum-serai \
|
||||
-p monero-generators \
|
||||
|
|
2
.github/workflows/common-tests.yml
vendored
2
.github/workflows/common-tests.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --all-features \
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
||||
-p std-shims \
|
||||
-p zalloc \
|
||||
-p serai-db \
|
||||
|
|
2
.github/workflows/coordinator-tests.yml
vendored
2
.github/workflows/coordinator-tests.yml
vendored
|
@ -41,4 +41,4 @@ jobs:
|
|||
github-token: ${{ inputs.github-token }}
|
||||
|
||||
- name: Run coordinator Docker tests
|
||||
run: cd tests/coordinator && GITHUB_CI=true cargo test
|
||||
run: cd tests/coordinator && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
|
||||
|
|
2
.github/workflows/crypto-tests.yml
vendored
2
.github/workflows/crypto-tests.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --all-features \
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
||||
-p flexible-transcript \
|
||||
-p ff-group-tests \
|
||||
-p dalek-ff-group \
|
||||
|
|
2
.github/workflows/message-queue-tests.yml
vendored
2
.github/workflows/message-queue-tests.yml
vendored
|
@ -35,4 +35,4 @@ jobs:
|
|||
github-token: ${{ inputs.github-token }}
|
||||
|
||||
- name: Run message-queue Docker tests
|
||||
run: cd tests/message-queue && GITHUB_CI=true cargo test
|
||||
run: cd tests/message-queue && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
|
||||
|
|
8
.github/workflows/monero-tests.yaml
vendored
8
.github/workflows/monero-tests.yaml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run Unit Tests Without Features
|
||||
run: GITHUB_CI=true cargo test --package monero-serai --lib
|
||||
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --lib
|
||||
|
||||
# Doesn't run unit tests with features as the tests workflow will
|
||||
|
||||
|
@ -51,11 +51,11 @@ jobs:
|
|||
- name: Run Integration Tests Without Features
|
||||
# Runs with the binaries feature so the binaries build
|
||||
# https://github.com/rust-lang/cargo/issues/8396
|
||||
run: GITHUB_CI=true cargo test --package monero-serai --features binaries --test '*'
|
||||
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --features binaries --test '*'
|
||||
|
||||
- name: Run Integration Tests
|
||||
# Don't run if the the tests workflow also will
|
||||
if: ${{ matrix.version != 'v0.18.2.0' }}
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --package monero-serai --all-features --test '*'
|
||||
GITHUB_CI=true cargo test --package serai-processor --all-features monero
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package monero-serai --all-features --test '*'
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --package serai-processor --all-features monero
|
||||
|
|
2
.github/workflows/processor-tests.yml
vendored
2
.github/workflows/processor-tests.yml
vendored
|
@ -41,4 +41,4 @@ jobs:
|
|||
github-token: ${{ inputs.github-token }}
|
||||
|
||||
- name: Run processor Docker tests
|
||||
run: cd tests/processor && GITHUB_CI=true cargo test
|
||||
run: cd tests/processor && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
|
||||
|
|
2
.github/workflows/reproducible-runtime.yml
vendored
2
.github/workflows/reproducible-runtime.yml
vendored
|
@ -35,4 +35,4 @@ jobs:
|
|||
github-token: ${{ inputs.github-token }}
|
||||
|
||||
- name: Run Reproducible Runtime tests
|
||||
run: cd tests/reproducible-runtime && GITHUB_CI=true cargo test
|
||||
run: cd tests/reproducible-runtime && GITHUB_CI=true RUST_BACKTRACE=1 cargo test
|
||||
|
|
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --all-features \
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
||||
-p serai-message-queue \
|
||||
-p serai-processor-messages \
|
||||
-p serai-processor \
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
GITHUB_CI=true cargo test --all-features \
|
||||
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
||||
-p serai-primitives \
|
||||
-p serai-tokens-primitives \
|
||||
-p serai-tokens-pallet \
|
||||
|
@ -85,4 +85,4 @@ jobs:
|
|||
cargo build
|
||||
|
||||
- name: Run Tests
|
||||
run: GITHUB_CI=true cargo test --all-features -p serai-client
|
||||
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p serai-client
|
||||
|
|
Loading…
Reference in a new issue