fix: upgrade @dhis2/analytics for scoped pivot table styles v39 #2374
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} | |
REACT_APP_DHIS2_BASE_URL: ${{ secrets.CYPRESS_DHIS2_BASE_URL_39 }} | |
cypress_dhis2_base_url: ${{ secrets.CYPRESS_DHIS2_BASE_URL_39 }} | |
cypress_dhis2_username: ${{ secrets.DHIS2_USERNAME }} | |
cypress_dhis2_password: ${{ secrets.DHIS_PASSWORD }} | |
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 | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |