Fix card body flex css (#468) #1924
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: Integration tests | |
on: | |
push: | |
branches: | |
- main | |
- mampf-next | |
- production | |
- experimental | |
pull_request: | |
jobs: | |
e2e-test-job: | |
name: Run E2E tests & upload results to Cypress | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Pull docker images | |
run: docker compose pull --ignore-buildable | |
working-directory: docker/run_cypress_tests | |
- name: Use Docker layer caching # https://github.com/jpribyl/action-docker-layer-caching | |
uses: jpribyl/action-docker-layer-caching@v0.1.1 | |
continue-on-error: true | |
- name: Build docker containers | |
run: docker compose build | |
working-directory: docker/run_cypress_tests | |
- name: Run integration tests | |
working-directory: docker/run_cypress_tests | |
env: | |
# pass the Dashboard record key as an environment variable | |
CYPRESS_baseUrl: http://mampf:3000 | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
# pass GitHub token to allow accurately detecting a build vs a re-run build | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: docker compose run -e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} --entrypoint="" cypress_runner sh -c "while ! curl http://mampf:3000 ; do echo waiting for MaMpf to come online at http://mampf:3000; sleep 3; done; cypress run --record --key ${{ secrets.CYPRESS_RECORD_KEY }}" |