Skip to content

Commit

Permalink
ci: update workflow to use dockerized backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Apr 9, 2024
1 parent d6a738e commit 8173e8c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,19 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: End-to-End tests
uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v5
with:
start: yarn start:nobrowser
wait-on: 'http://localhost:3000'
wait-on-timeout: 300
start: npx --yes @dhis2/cli-cluster up 2.41 --channel dev --db-version 2.41 --seed, yarn start:nobrowser
wait-on: 'http://localhost:8080/dhis-web-commons/security/login.action, http://localhost:3000'
wait-on-timeout: 600
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_dhis2BaseUrl: https://debug.dhis2.org/dev
CYPRESS_dhis2ApiVersion: 42
CYPRESS_networkMode: stub
CYPRESS_LOGIN_NAME: ${{ secrets.CYPRESS_LOGIN_NAME }}
CYPRESS_LOGIN_PASSWORD: ${{ secrets.CYPRESS_LOGIN_PASSWORD }}
CYPRESS_LOGIN_SERVER: http://localhost:8080
- run: npx --yes @dhis2/cli-cluster down 2.41

release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8173e8c

Please sign in to comment.