From 4b722d30d188bd51a445a4985b4cdc5514b6ccca Mon Sep 17 00:00:00 2001 From: KillariDev Date: Thu, 28 Dec 2023 10:30:15 +0200 Subject: [PATCH] disable tests --- .github/workflows/test.yml | 27 ++------------------------- codecov.yml | 1 - 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40053bb224d..3e600a1ebad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -162,8 +162,6 @@ jobs: group: e2e spec: ${{ github.ref_name == 'releases/staging' && 'cypress/{e2e,staging}/**/*.test.ts' || 'cypress/e2e/**/*.test.ts' }} env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COMMIT_INFO_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }} COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title || github.event.head_commit.message }} COMMIT_INFO_AUTHOR: ${{ github.event.sender.login || github.event.head_commit.author.login }} @@ -214,25 +212,6 @@ jobs: with: name: Cloud typecheck SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TEST_REPORTER_WEBHOOK }} - - cloud-tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/setup - - uses: actions/cache@v3 - with: - path: node_modules/.cache - key: ${{ runner.os }}-cloud-jest-${{ github.run_id }} - restore-keys: ${{ runner.os }}-cloud-jest- - # Ignore start:cloud output so it doesn't flood the test output. - # Only use 1 worker for testing, as the other is used to run start:cloud (the proxy server under test). - - run: yarn start-server-and-test 'yarn start:cloud >/dev/null' 3000 'yarn test:cloud --coverage --maxWorkers=1' - - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false - flags: cloud-tests pre: if: ${{ github.ref_name == 'main' || github.ref_name == 'releases/staging' }} @@ -253,7 +232,7 @@ jobs: post: if: ${{ github.ref_name == 'main' || github.ref_name == 'releases/staging' }} - needs: [pre, lint, typecheck, deps-tests, unit-tests, cypress-test-matrix, cloud-tests] + needs: [pre, lint, typecheck, deps-tests, unit-tests, cypress-test-matrix] runs-on: ubuntu-latest steps: - uses: actions/github-script@v6.4.1 @@ -273,6 +252,4 @@ jobs: ${{ needs.lint.result == 'success' }} && ${{ needs.typecheck.result == 'success' }} && ${{ needs.deps-tests.result == 'success' }} && - ${{ needs.unit-tests.result == 'success' }} && - ${{ needs.cypress-test-matrix.result == 'success' }} && - ${{ needs.cloud-tests.result == 'success' }} + ${{ needs.unit-tests.result == 'success' }} diff --git a/codecov.yml b/codecov.yml index c865e13f93b..9afe72bc12f 100644 --- a/codecov.yml +++ b/codecov.yml @@ -29,7 +29,6 @@ flag_management: target: 50% individual_flags: - name: unit-tests - - name: cloud-tests statuses: - type: project target: 80%