Skip to content

[NM-62] Add population pyramid plot #462

[NM-62] Add population pyramid plot

[NM-62] Add population pyramid plot #462

on:
push:
branches:
- main
pull_request:
branches:
- "*"
name: Test Front End
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: Lint
run: npm run lint --prefix=src/app/static -- --quiet
- name: Front-end tests
run: npm run test --prefix=src/app/static
- name: CodeCov
run: |
codecov -p . -f src/app/static/coverage/unit/*.json
codecov -p . -f src/app/static/coverage/integration/*.json
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}