|
17 | 17 | CARGO_TERM_COLOR: always |
18 | 18 | RUST_BACKTRACE: 1 |
19 | 19 | # Define the path to the single, consolidated Docker Compose file. |
20 | | - COMPOSE_FILE: ./dt-tests/tests/docker/docker-compose.yml |
| 20 | + COMPOSE_FILE: ./dt-tests/docker/docker-compose.yml |
| 21 | + # Tool versions |
| 22 | + RUST_TOOLCHAIN: "1.85.0" |
| 23 | + NEXTEST_VERSION: "0.9.100" |
21 | 24 |
|
22 | 25 | jobs: |
23 | 26 | # This job dynamically builds the test matrix. |
|
48 | 51 | echo "✅ A specific suite was provided. Running for: $SUITES" |
49 | 52 | else |
50 | 53 | # If no suite is specified, discover all available suites by listing directories. |
51 | | - # This command lists directories, excludes non-test directories, and formats them into a JSON array. |
| 54 | + # Exclude non-test directories like test_runner and log_reader, then format into a JSON array. |
52 | 55 | echo "ℹ️ No specific suite provided. Discovering all available test suites..." |
53 | | - SUITES=$(ls -d */ | grep -v -E 'test_runner' | sed 's/\///' | jq -R . | jq -s . | jq -c .) |
| 56 | + SUITES=$(ls -d */ | grep -v -E 'test_runner|log_reader' | sed 's/\///' | jq -R . | jq -s . | jq -c .) |
54 | 57 | echo "Discovered suites: $SUITES" |
55 | 58 | fi |
56 | 59 | echo "suites=$SUITES" >> $GITHUB_OUTPUT |
|
76 | 79 |
|
77 | 80 | - name: Setup Rust Toolchain |
78 | 81 | uses: actions-rust-lang/setup-rust-toolchain@v1 |
| 82 | + with: |
| 83 | + toolchain: ${{ env.RUST_TOOLCHAIN }} |
79 | 84 |
|
80 | 85 | - name: Cache Rust Dependencies |
81 | 86 | uses: Swatinem/rust-cache@v2 |
|
85 | 90 | - name: Install cargo-nextest |
86 | 91 | uses: taiki-e/install-action@v2 |
87 | 92 | with: |
88 | | - tool: cargo-nextest |
| 93 | + tool: cargo-nextest@${{ env.NEXTEST_VERSION }} |
89 | 94 |
|
90 | 95 | - name: Start Required Services |
91 | 96 | run: | |
|
0 commit comments