Skip to content

Commit f836723

Browse files
committed
CI: enable captured tracing output on TRACE level
Now, iff a test fails in the CI, all its logs are preserved and available for further investigation.
1 parent 667863b commit f836723

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/authenticate_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v3
3030
- name: Run tests
31-
run: cargo test --verbose authenticate_superuser -- custom_authentication --ignored
31+
run: RUST_LOG=trace cargo test --verbose authenticate_superuser -- custom_authentication --ignored

.github/workflows/cassandra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: cargo build --verbose --tests --features "full-serialization"
3030
- name: Run tests on cassandra
3131
run: |
32-
CDC='disabled' SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" -- --skip test_views_in_schema_info --skip test_large_batch_statements
32+
CDC='disabled' RUST_LOG=trace SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization" -- --skip test_views_in_schema_info --skip test_large_batch_statements
3333
- name: Stop the cluster
3434
if: ${{ always() }}
3535
run: docker compose -f test/cluster/cassandra/docker-compose.yml stop

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Run tests
5454
run: |
5555
cargo clean
56-
SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization"
56+
RUST_LOG=trace SCYLLA_URI=172.42.0.2:9042 SCYLLA_URI2=172.42.0.3:9042 SCYLLA_URI3=172.42.0.4:9042 cargo test --verbose --features "full-serialization"
5757
- name: Stop the cluster
5858
if: ${{ always() }}
5959
run: docker compose -f test/cluster/docker-compose.yml stop

.github/workflows/serverless.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run cloud example
3636
run: cargo run --example cloud -- $HOME/.ccm/serverless/config_data.yaml
3737
- name: Run cloud tests
38-
run: CLOUD_CONFIG_PATH=$HOME/.ccm/serverless/config_data.yaml RUSTFLAGS="--cfg scylla_cloud_tests" cargo test --verbose
38+
run: CLOUD_CONFIG_PATH=$HOME/.ccm/serverless/config_data.yaml RUSTFLAGS="--cfg scylla_cloud_tests" RUST_LOG=trace cargo test --verbose
3939

4040
- name: Remove serverless cluster
4141
run: ccm remove serverless

0 commit comments

Comments
 (0)