specify profile by env

Signed-off-by: Ping Yu <yuping@pingcap.com>
This commit is contained in:
Ping Yu 2025-03-23 18:06:59 +08:00
parent 1d6e7d3143
commit 95e437d27c
2 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,7 @@ jobs:
name: unit test
env:
CARGO_INCREMENTAL: 0
NEXTEST_PROFILE: "CI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -58,6 +59,7 @@ jobs:
case: ["integration-test-txn", "integration-test-raw"]
env:
CARGO_INCREMENTAL: 0
NEXTEST_PROFILE: "CI"
TIKV_VERSION: v8.5.1
runs-on: ubuntu-latest
steps:

View File

@ -7,7 +7,7 @@ export MULTI_REGION ?= 1
ALL_FEATURES := integration-tests
NEXTEST_ARGS := --config-file $(shell pwd)/config/nextest.toml -P ci
NEXTEST_ARGS := --config-file $(shell pwd)/config/nextest.toml
INTEGRATION_TEST_ARGS := --features "integration-tests" --test-threads 1