diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml deleted file mode 100644 index f812a23d5..000000000 --- a/.github/workflows/cypress.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: 'dhis2: test (cypress)' - -on: - push: - branches: - - master - pull_request: - -env: - SERVER_START_CMD: 'yarn cypress:start' - SERVER_URL: 'http://localhost:3000' - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - cypress_dhis2_base_url: 'http://localhost:8080' - cypress_dhis2_api_stub_mode: 'STUB' - REACT_APP_DHIS2_BASE_URL: 'http://localhost:8080' - -jobs: - e2e: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" - strategy: - matrix: - containers: [1, 2, 3] - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Tests - uses: cypress-io/github-action@v2 - with: - record: true - parallel: true - start: ${{ env.SERVER_START_CMD }} - wait-on: ${{ env.SERVER_URL }} - wait-on-timeout: 60 - group: 'e2e' - env: - CI: true - tags: '@nonmutating'