Skip to content

[NM-62] Add population pyramid plot #437

[NM-62] Add population pyramid plot

[NM-62] Add population pyramid plot #437

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