Skip to content

Use data attributes to 'sanity-test' the time series charts #703

Use data attributes to 'sanity-test' the time series charts

Use data attributes to 'sanity-test' the time series charts #703

Workflow file for this run

name: Unit tests
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Set non-secret environment variables for app
run: mv .env.example .env
- name: Test
run: npm run test:unit:coverage
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: jameel-institute/daedalus-web-app
fail_ci_if_error: true