Bump body-parser and express in /server #2751
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: E2E Tests | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [edge] | |
paths-ignore: ["**.md"] | |
pull_request: | |
paths-ignore: ["**.md"] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build and Run Application | |
uses: isbang/[email protected] | |
with: | |
compose-file: | | |
docker-compose.yml | |
docker-compose.test.yml | |
compose-flags: "--env-file test.env" | |
- name: Check Application Health | |
uses: jtalk/url-health-check-action@v3 | |
with: | |
url: http://localhost/api/v3/testConnection | |
max-attempts: 10 | |
retry-delay: 10s | |
- name: Dump Application Logs | |
if: failure() | |
run: | | |
echo "Health check failed. Dumping Docker logs..." | |
docker compose -f docker-compose.yml -f docker-compose.test.yml --env-file test.env logs | |
- name: Cypress Run | |
uses: cypress-io/github-action@v5 | |
with: | |
config: baseUrl=http://localhost | |
spec: cypress/e2e/!(third-party)/**/*.cy.js | |
working-directory: e2e |