[NM-62] Add population pyramid plot #437
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
name: Test Browser E2E | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Make shared env | |
uses: ./.github/actions/make-shared-env | |
with: | |
dh-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
dh-password: ${{ secrets.DOCKERHUB_TOKEN }} | |
ghcr-username: ${{ github.actor }} | |
ghcr-password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run deps | |
run: scripts/run-dependencies.sh | |
- name: Start Kotlin server | |
run: scripts/run-kotlin-server.sh | |
- name: Install playwright et al | |
run: | | |
cd src/app/static | |
npm install @playwright/test@1.35.1 | |
npx playwright install chromium | |
npx playwright install-deps chromium | |
- name: Test browser e2e | |
run: npm run browser-test --prefix=src/app/static | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: test-results | |
path: src/app/static/test-results/ | |
if-no-files-found: 'ignore' | |
retention-days: 7 |