From e9fb808e1114f5c1cd8f784cca5ebde1136cb66a Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 12:04:06 -0500 Subject: [PATCH 01/17] add test github action --- .github/workflows/test_coverage.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/test_coverage.yaml diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml new file mode 100644 index 000000000..90f247607 --- /dev/null +++ b/.github/workflows/test_coverage.yaml @@ -0,0 +1,14 @@ +name: "Test coverage" +on: + pull_request: + branches: + - main +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + working-directory: ./query-connector + test-script: npm run test From 48f12a8bf4ac65e990bcb78f02088213d72712a0 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 12:12:00 -0500 Subject: [PATCH 02/17] one more --- .github/workflows/test_coverage.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index 90f247607..308929aa3 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -12,3 +12,5 @@ jobs: with: working-directory: ./query-connector test-script: npm run test + coverage-file: report.json + base-coverage-file: report.json From f57c4b7fc9f879793e355cbc6c560c1cf586a617 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 12:17:36 -0500 Subject: [PATCH 03/17] remove working directory --- .github/workflows/test_coverage.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index 308929aa3..d36f4e11d 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -10,7 +10,4 @@ jobs: - uses: actions/checkout@v3 - uses: ArtiomTr/jest-coverage-report-action@v2 with: - working-directory: ./query-connector test-script: npm run test - coverage-file: report.json - base-coverage-file: report.json From f63ef808a22cc2efd462785a30ca22590f3db20e Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 12:21:42 -0500 Subject: [PATCH 04/17] jk --- .github/workflows/test_coverage.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index d36f4e11d..90f247607 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -10,4 +10,5 @@ jobs: - uses: actions/checkout@v3 - uses: ArtiomTr/jest-coverage-report-action@v2 with: + working-directory: ./query-connector test-script: npm run test From 9b94730172cd84680311f885884bfb2b83b8306b Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 12:40:55 -0500 Subject: [PATCH 05/17] wip --- query-connector/.gitignore | 1 + query-connector/integration.sh | 4 ++-- query-connector/package.json | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/query-connector/.gitignore b/query-connector/.gitignore index f0d2f23c8..4f608bc55 100644 --- a/query-connector/.gitignore +++ b/query-connector/.gitignore @@ -6,3 +6,4 @@ certificates /playwright-report/ /blob-report/ /playwright/.cache/ +/coverage \ No newline at end of file diff --git a/query-connector/integration.sh b/query-connector/integration.sh index 24f93a105..620d2c5a8 100644 --- a/query-connector/integration.sh +++ b/query-connector/integration.sh @@ -1,14 +1,14 @@ #!/bin/bash set -e # Exit immediately if a command exits with a non-zero status - +docker compose down --volumes --remove-orphans docker compose -f docker-compose-integration.yaml up -d # wait for flyway to finish running before... docker compose -f docker-compose-integration.yaml logs -f flyway | grep -q "Successfully applied\|No migration necessary" # running our integration tests -DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest --testPathPattern=tests/integration +DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest --testPathPattern=tests/integration --ci --json --coverage --testLocationInResults --outputFile=/coverage/integration/report.json JEST_EXIT_CODE=$? # Teardown containers diff --git a/query-connector/package.json b/query-connector/package.json index 33c81ed53..fe40ca5b6 100644 --- a/query-connector/package.json +++ b/query-connector/package.json @@ -14,6 +14,7 @@ "lint": "next lint", "test": "npm run test:unit && npm run test:integration", "test:unit": "jest --testPathIgnorePatterns='/e2e/' '/integration/'", + "test:unit:ci": "npm run test:unit -- --ci --json --coverage --testLocationInResults --outputFile=./unit/report.json", "test:unit:watch": "jest --watch", "test:integration": "bash ./integration.sh", "test:playwright": "docker compose -f ./docker-compose-e2e.yaml build --no-cache && docker compose -f ./docker-compose-e2e.yaml up -d && npx playwright test --reporter=list", From 0a132b68f9e868bd3f59f71db542920c02bea2de Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 13:47:34 -0500 Subject: [PATCH 06/17] wip scripts --- query-connector/.gitignore | 3 ++- query-connector/integration.sh | 8 +++++++- query-connector/package.json | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/query-connector/.gitignore b/query-connector/.gitignore index 4f608bc55..73819c916 100644 --- a/query-connector/.gitignore +++ b/query-connector/.gitignore @@ -6,4 +6,5 @@ certificates /playwright-report/ /blob-report/ /playwright/.cache/ -/coverage \ No newline at end of file +/coverage +*-jestCoverageReport.json diff --git a/query-connector/integration.sh b/query-connector/integration.sh index 620d2c5a8..e0a035994 100644 --- a/query-connector/integration.sh +++ b/query-connector/integration.sh @@ -7,8 +7,14 @@ docker compose -f docker-compose-integration.yaml up -d # wait for flyway to finish running before... docker compose -f docker-compose-integration.yaml logs -f flyway | grep -q "Successfully applied\|No migration necessary" +BASE_CMD="DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest --testPathPattern=tests/integration" # running our integration tests -DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest --testPathPattern=tests/integration --ci --json --coverage --testLocationInResults --outputFile=/coverage/integration/report.json +if [ "$GENERATE_COVERAGE_REPORT" = "true" ]; then + JEST_CMD="$BASE_CMD --ci --json --coverage --testLocationInResults --outputFile=integration-jestCoverageReport.json" +else + JEST_CMD="$BASE_CMD" +fi +eval $JEST_CMD JEST_EXIT_CODE=$? # Teardown containers diff --git a/query-connector/package.json b/query-connector/package.json index fe40ca5b6..27bd5c479 100644 --- a/query-connector/package.json +++ b/query-connector/package.json @@ -13,10 +13,12 @@ "start": "NODE_TLS_REJECT_UNAUTHORIZED=0 node .next/standalone/server.js", "lint": "next lint", "test": "npm run test:unit && npm run test:integration", + "test:ci": "npm run test:unit:ci && npm run test:integration:ci", "test:unit": "jest --testPathIgnorePatterns='/e2e/' '/integration/'", - "test:unit:ci": "npm run test:unit -- --ci --json --coverage --testLocationInResults --outputFile=./unit/report.json", + "test:unit:ci": "npm run test:unit -- --ci --json --coverage --testLocationInResults --outputFile=unit-jestCoverageReport.json ", "test:unit:watch": "jest --watch", "test:integration": "bash ./integration.sh", + "test:integration:ci": "GENERATE_COVERAGE_REPORT=true bash ./integration.sh", "test:playwright": "docker compose -f ./docker-compose-e2e.yaml build --no-cache && docker compose -f ./docker-compose-e2e.yaml up -d && npx playwright test --reporter=list", "test:playwright:local": "dotenv -e ./.env -- npx playwright test --ui", "cypress:open": "cypress open", From e9c96be11af38aa996746259e9f5c269d827dc22 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 13:59:48 -0500 Subject: [PATCH 07/17] tweak scripts to have a CI version --- .github/workflows/test_coverage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index 90f247607..1aa6abae5 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -11,4 +11,4 @@ jobs: - uses: ArtiomTr/jest-coverage-report-action@v2 with: working-directory: ./query-connector - test-script: npm run test + test-script: npm run test:ci From 1c39e2821993c9aa0d9efe42dea4b2c697ef71b5 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:09:23 -0500 Subject: [PATCH 08/17] move everything into one file --- .github/workflows/test_coverage.yaml | 1 + query-connector/.gitignore | 2 +- query-connector/integration.sh | 6 +++--- query-connector/package.json | 4 +--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index 1aa6abae5..71fb30bc2 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -12,3 +12,4 @@ jobs: with: working-directory: ./query-connector test-script: npm run test:ci + coverage-file: coverageReport.json diff --git a/query-connector/.gitignore b/query-connector/.gitignore index 73819c916..6ae27b39d 100644 --- a/query-connector/.gitignore +++ b/query-connector/.gitignore @@ -7,4 +7,4 @@ certificates /blob-report/ /playwright/.cache/ /coverage -*-jestCoverageReport.json +coverageReport.json diff --git a/query-connector/integration.sh b/query-connector/integration.sh index e0a035994..093b564fc 100644 --- a/query-connector/integration.sh +++ b/query-connector/integration.sh @@ -7,12 +7,12 @@ docker compose -f docker-compose-integration.yaml up -d # wait for flyway to finish running before... docker compose -f docker-compose-integration.yaml logs -f flyway | grep -q "Successfully applied\|No migration necessary" -BASE_CMD="DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest --testPathPattern=tests/integration" +BASE_CMD="DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest " # running our integration tests if [ "$GENERATE_COVERAGE_REPORT" = "true" ]; then - JEST_CMD="$BASE_CMD --ci --json --coverage --testLocationInResults --outputFile=integration-jestCoverageReport.json" + JEST_CMD="$BASE_CMD --testPathIgnorePatterns='/e2e/' --ci --json --coverage --testLocationInResults --outputFile=coverageReport.json" else - JEST_CMD="$BASE_CMD" + JEST_CMD="$BASE_CMD --testPathPattern=tests/integration" fi eval $JEST_CMD JEST_EXIT_CODE=$? diff --git a/query-connector/package.json b/query-connector/package.json index 27bd5c479..558beea51 100644 --- a/query-connector/package.json +++ b/query-connector/package.json @@ -13,12 +13,10 @@ "start": "NODE_TLS_REJECT_UNAUTHORIZED=0 node .next/standalone/server.js", "lint": "next lint", "test": "npm run test:unit && npm run test:integration", - "test:ci": "npm run test:unit:ci && npm run test:integration:ci", + "test:ci": "GENERATE_COVERAGE_REPORT=true bash ./integration.sh", "test:unit": "jest --testPathIgnorePatterns='/e2e/' '/integration/'", - "test:unit:ci": "npm run test:unit -- --ci --json --coverage --testLocationInResults --outputFile=unit-jestCoverageReport.json ", "test:unit:watch": "jest --watch", "test:integration": "bash ./integration.sh", - "test:integration:ci": "GENERATE_COVERAGE_REPORT=true bash ./integration.sh", "test:playwright": "docker compose -f ./docker-compose-e2e.yaml build --no-cache && docker compose -f ./docker-compose-e2e.yaml up -d && npx playwright test --reporter=list", "test:playwright:local": "dotenv -e ./.env -- npx playwright test --ui", "cypress:open": "cypress open", From 1a40b4416213d8b35d19685fce4683ce58887f5e Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:12:32 -0500 Subject: [PATCH 09/17] use native name --- .github/workflows/test_coverage.yaml | 1 - query-connector/.gitignore | 2 +- query-connector/integration.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml index 71fb30bc2..1aa6abae5 100644 --- a/.github/workflows/test_coverage.yaml +++ b/.github/workflows/test_coverage.yaml @@ -12,4 +12,3 @@ jobs: with: working-directory: ./query-connector test-script: npm run test:ci - coverage-file: coverageReport.json diff --git a/query-connector/.gitignore b/query-connector/.gitignore index 6ae27b39d..1baad9077 100644 --- a/query-connector/.gitignore +++ b/query-connector/.gitignore @@ -7,4 +7,4 @@ certificates /blob-report/ /playwright/.cache/ /coverage -coverageReport.json +report.json diff --git a/query-connector/integration.sh b/query-connector/integration.sh index 093b564fc..940d65460 100644 --- a/query-connector/integration.sh +++ b/query-connector/integration.sh @@ -10,7 +10,7 @@ docker compose -f docker-compose-integration.yaml logs -f flyway | grep -q "Succ BASE_CMD="DATABASE_URL=postgresql://postgres:pw@localhost:5432/tefca_db TEST_TYPE=integration jest " # running our integration tests if [ "$GENERATE_COVERAGE_REPORT" = "true" ]; then - JEST_CMD="$BASE_CMD --testPathIgnorePatterns='/e2e/' --ci --json --coverage --testLocationInResults --outputFile=coverageReport.json" + JEST_CMD="$BASE_CMD --testPathIgnorePatterns='/e2e/' --ci --json --coverage --testLocationInResults --outputFile=report.json" else JEST_CMD="$BASE_CMD --testPathPattern=tests/integration" fi From fc86f67780b3cbdbfbefb5d620e31e2cc9652527 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:16:50 -0500 Subject: [PATCH 10/17] move it into the ci file --- .github/workflows/ci.yaml | 12 +++++++++++- .github/workflows/test_coverage.yaml | 14 -------------- 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 .github/workflows/test_coverage.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dcfcac157..0efee7fdb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,7 +61,17 @@ jobs: - name: Run tests working-directory: ./query-connector - run: npm run test:integration + run: npm run test:ci + + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + working-directory: ./query-connector + coverage-file: ./query-connector/report.json + skip-step: all end-to-end-tests: timeout-minutes: 15 diff --git a/.github/workflows/test_coverage.yaml b/.github/workflows/test_coverage.yaml deleted file mode 100644 index 1aa6abae5..000000000 --- a/.github/workflows/test_coverage.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: "Test coverage" -on: - pull_request: - branches: - - main -jobs: - coverage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ArtiomTr/jest-coverage-report-action@v2 - with: - working-directory: ./query-connector - test-script: npm run test:ci From da733401ffc4c7b0d72d299385bc8a8607d4ad8c Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:19:02 -0500 Subject: [PATCH 11/17] add await --- .github/actions/test_coverage.yml | 14 ++++++++++++++ .github/workflows/ci.yaml | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/actions/test_coverage.yml diff --git a/.github/actions/test_coverage.yml b/.github/actions/test_coverage.yml new file mode 100644 index 000000000..1aa6abae5 --- /dev/null +++ b/.github/actions/test_coverage.yml @@ -0,0 +1,14 @@ +name: "Test coverage" +on: + pull_request: + branches: + - main +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + working-directory: ./query-connector + test-script: npm run test:ci diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0efee7fdb..8b640d260 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,13 +64,14 @@ jobs: run: npm run test:ci coverage: + needs: integration-tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: ArtiomTr/jest-coverage-report-action@v2 with: working-directory: ./query-connector - coverage-file: ./query-connector/report.json + coverage-file: report.json skip-step: all end-to-end-tests: From e5461e8e0a1853be31f917fcd1e3ead53808ab2f Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:22:44 -0500 Subject: [PATCH 12/17] one more try? --- .github/workflows/ci.yaml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b640d260..8f36bb091 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,7 +30,7 @@ jobs: npm ci npm run lint - unit-tests: + unit-and-integration-tests: runs-on: ubuntu-latest steps: - name: Checkout code @@ -42,33 +42,15 @@ jobs: - name: Install dependencies working-directory: ./query-connector run: npm install - - name: Run tests - working-directory: ./query-connector - run: npm run test:unit - integration-tests: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: ${{env.NODE_VERSION}} - - name: Install dependencies - working-directory: ./query-connector - run: npm install - - - name: Run tests + - name: Run unit and integration tests working-directory: ./query-connector run: npm run test:ci - coverage: - needs: integration-tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ArtiomTr/jest-coverage-report-action@v2 + - name: Report coverage + uses: actions/checkout@v3 + - name: Setup reporting action + uses: ArtiomTr/jest-coverage-report-action@v2 with: working-directory: ./query-connector coverage-file: report.json From 5ae0755b31f4acf766eb66ede5e8bf447200d242 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:26:33 -0500 Subject: [PATCH 13/17] move it in --- .github/workflows/ci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8f36bb091..9094c449b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,16 +42,12 @@ jobs: - name: Install dependencies working-directory: ./query-connector run: npm install - - - name: Run unit and integration tests - working-directory: ./query-connector - run: npm run test:ci - - - name: Report coverage + - name: Checkout code uses: actions/checkout@v3 - - name: Setup reporting action + - name: Setup reporting action and run tests uses: ArtiomTr/jest-coverage-report-action@v2 with: + test-script: npm run test:ci working-directory: ./query-connector coverage-file: report.json skip-step: all From 9afe8d31deba60d619f4412a24df4792d5607a8f Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:27:26 -0500 Subject: [PATCH 14/17] remove skip step --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9094c449b..45dd4b9f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -50,7 +50,6 @@ jobs: test-script: npm run test:ci working-directory: ./query-connector coverage-file: report.json - skip-step: all end-to-end-tests: timeout-minutes: 15 From 07e34d5e7d6a1a07c273f9fa281dddff226cf7ca Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:38:57 -0500 Subject: [PATCH 15/17] skip install step? --- .github/actions/test_coverage.yml | 14 -------------- .github/workflows/ci.yaml | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 .github/actions/test_coverage.yml diff --git a/.github/actions/test_coverage.yml b/.github/actions/test_coverage.yml deleted file mode 100644 index 1aa6abae5..000000000 --- a/.github/actions/test_coverage.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: "Test coverage" -on: - pull_request: - branches: - - main -jobs: - coverage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ArtiomTr/jest-coverage-report-action@v2 - with: - working-directory: ./query-connector - test-script: npm run test:ci diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45dd4b9f7..845ef42bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: with: test-script: npm run test:ci working-directory: ./query-connector - coverage-file: report.json + skip-step: install end-to-end-tests: timeout-minutes: 15 From 38f88c35556fbbc289369fb50e6168f7d38cf8fe Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:40:59 -0500 Subject: [PATCH 16/17] moe working directory? --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 845ef42bf..c8a89f872 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,6 @@ jobs: uses: ArtiomTr/jest-coverage-report-action@v2 with: test-script: npm run test:ci - working-directory: ./query-connector skip-step: install end-to-end-tests: From 79040679fd547c146fd6a2420cecea5add2e0460 Mon Sep 17 00:00:00 2001 From: Bob Zhao Date: Thu, 6 Feb 2025 14:44:44 -0500 Subject: [PATCH 17/17] don't skip any steps? --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c8a89f872..f08ac9c36 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -39,16 +39,14 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{env.NODE_VERSION}} - - name: Install dependencies - working-directory: ./query-connector - run: npm install - name: Checkout code uses: actions/checkout@v3 - name: Setup reporting action and run tests uses: ArtiomTr/jest-coverage-report-action@v2 with: test-script: npm run test:ci - skip-step: install + working-directory: ./query-connector + skip-step: none end-to-end-tests: timeout-minutes: 15