-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,51 +108,6 @@ jobs: | |
GT_S3_REGION: ${{ vars.AWS_CI_TEST_BUCKET_REGION }} | ||
UNITTEST_LOG_DIR: "__unittest_logs" | ||
|
||
## this is designed for generating cache that usable for pull requests | ||
test-on-linux: | ||
name: Run tests on Linux | ||
if: ${{ github.repository == 'GreptimeTeam/greptimedb' }} | ||
runs-on: ubuntu-20.04-8-cores | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: arduino/setup-protoc@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: rui314/setup-mold@v1 | ||
- name: Install Rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
with: | ||
# Shares cross multiple jobs | ||
shared-key: "coverage-test" | ||
- name: Install Cargo Nextest | ||
uses: taiki-e/install-action@nextest | ||
- name: Setup external services | ||
working-directory: tests-integration/fixtures | ||
run: docker compose up -d --wait | ||
- name: Running tests | ||
run: cargo nextest run -F dashboard -F pg_kvbackend | ||
env: | ||
CARGO_BUILD_RUSTFLAGS: "-C link-arg=-fuse-ld=mold" | ||
RUST_BACKTRACE: 1 | ||
CARGO_INCREMENTAL: 0 | ||
GT_S3_BUCKET: ${{ vars.AWS_CI_TEST_BUCKET }} | ||
GT_S3_ACCESS_KEY_ID: ${{ secrets.AWS_CI_TEST_ACCESS_KEY_ID }} | ||
GT_S3_ACCESS_KEY: ${{ secrets.AWS_CI_TEST_SECRET_ACCESS_KEY }} | ||
GT_S3_REGION: ${{ vars.AWS_CI_TEST_BUCKET_REGION }} | ||
GT_MINIO_BUCKET: greptime | ||
GT_MINIO_ACCESS_KEY_ID: superpower_ci_user | ||
GT_MINIO_ACCESS_KEY: superpower_password | ||
GT_MINIO_REGION: us-west-2 | ||
GT_MINIO_ENDPOINT_URL: http://127.0.0.1:9000 | ||
GT_ETCD_ENDPOINTS: http://127.0.0.1:2379 | ||
GT_POSTGRES_ENDPOINTS: postgres://greptimedb:[email protected]:5432/postgres | ||
GT_KAFKA_ENDPOINTS: 127.0.0.1:9092 | ||
GT_KAFKA_SASL_ENDPOINTS: 127.0.0.1:9093 | ||
UNITTEST_LOG_DIR: "__unittest_logs" | ||
|
||
cleanbuild-linux-nix: | ||
name: Run clean build on Linux | ||
runs-on: ubuntu-latest-8-cores | ||
|