Skip to content

Commit

Permalink
Update cypress-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ballPointPenguin committed Nov 10, 2023
1 parent f767930 commit 2a28bbb
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,28 @@ jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: isbang/compose-action@v1.4.1
- name: Checkout
uses: actions/checkout@v3

- name: Build and Run Application
uses: isbang/compose-action@v1.4.1
env:
GOOGLE_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_CREDENTIALS_BASE64 }}
with:
compose-file: |
docker-compose.yml
docker-compose.test.yml
compose-flags: "--env-file test.env"
- uses: cypress-io/github-action@v5.0.9

- name: Check Application Health
uses: jtalk/url-health-check-action@v3
with:
url: http://localhost/api/v3/testConnection
max-attempts: 12
retry-delay: 5s

- name: Cypress Run
uses: cypress-io/github-action@v5
with:
config: baseUrl=http://localhost
spec: cypress/e2e/!(third-party)/**/*.cy.js
Expand Down

0 comments on commit 2a28bbb

Please sign in to comment.