diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 950a94a..a3ab6f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,16 +54,14 @@ jobs: run: cargo fmt --all -- --check - name: Build - run: cargo build --workspace + run: cargo build --workspace --tests - name: Lint run: cargo clippy --workspace -- -D warnings - name: Prepare PostgreSQL - # Runs a script that creates a PostgreSQL table and populates it with data run: target/debug/prepare_db - # Run integration tests - name: Run unit and integration tests run: cargo test --no-fail-fast -- --nocapture --test-threads=1 @@ -72,16 +70,16 @@ jobs: # run: target/debug/prepare_db api # - name: API integration tests - # run: cargo test --test api_integration_test -- --nocapture --test-threads=1 + # run: cargo test --test api -- --nocapture --test-threads=1 # - name: Prepare PostgreSQL for ingestion tests # run: target/debug/prepare_db ingestion # - name: Ingestions integration tests - # run: cargo test --test ingestion_integration_test -- --nocapture --test-threads=1 + # run: cargo test --test ingestion -- --nocapture --test-threads=1 # - name: Prepare PostgreSQL for E2E tests - # run: target/debug/prepare_db e2e + # run: target/debug/prepare_db end-to-end # - name: E2E integration tests - # run: cargo test --test end-to-end_integration_test -- --nocapture --test-threads=1 + # run: cargo test --test end-to-end -- --nocapture --test-threads=1