Skip to content

Commit

Permalink
ci: re-enable e2e tests on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 11, 2024
1 parent 4efd798 commit 17393a5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ jobs:
with:
working_dir: src/frontend

frontend-e2e-test:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
with:
playwright: true
cache_image: false
compose_file: docker-compose.yml -f contrib/playwright/docker-compose.yml
compose_service: ui-test
cache_extra_imgs: |
"docker.io/postgis/postgis:${{ vars.POSTGIS_TAG }}"
"docker.io/minio/minio:${{ vars.MINIO_TAG }}"
"mcr.microsoft.com/playwright:${{ vars.PLAYWRIGHT_TAG }}"
secrets: inherit

backend-build:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
needs: [backend-test]
Expand All @@ -43,7 +56,7 @@ jobs:

frontend-build:
uses: hotosm/gh-workflows/.github/workflows/[email protected]
needs: [frontend-unit-test]
needs: [frontend-unit-test, frontend-e2e-test]
with:
context: src
dockerfile: Dockerfile.ui.prod
Expand Down

0 comments on commit 17393a5

Please sign in to comment.