Skip to content

Commit

Permalink
disable tests
Browse files Browse the repository at this point in the history
KillariDev committed Dec 28, 2023
1 parent 876ef3b commit 4b722d3
Showing 2 changed files with 2 additions and 26 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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' }}
1 change: 0 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,6 @@ flag_management:
target: 50%
individual_flags:
- name: unit-tests
- name: cloud-tests
statuses:
- type: project
target: 80%

0 comments on commit 4b722d3

Please sign in to comment.