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:
Luke Parker 2023-08-14 11:59:23 -04:00
parent e680eabb62
commit f366d65d4b
No known key found for this signature in database
9 changed files with 14 additions and 14 deletions

View file

@ -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 \

View file

@ -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 \

View file

@ -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

View file

@ -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 \

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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