Skip to content

Added testing file for heatmapContainer #65

Added testing file for heatmapContainer

Added testing file for heatmapContainer #65

Workflow file for this run

name: Build, Lint and Test
'on':
pull_request:
branches:
- '*_test'
push:
branches:
- '*_test'
- dev
- main
jobs:
all_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "${{ secrets.DOTENVFILE }}" > .env
- run: 'yarn install'
- run: 'chmod +x ./fix_node_modules.sh'
- run: './fix_node_modules.sh'
- run: 'yarn nx run-many --target=lint --all --parallel --skip-nx-cache'
- run: 'yarn nx run-many --target=build --all --parallel --skip-nx-cache'
- run: 'yarn nx run-many --target=test --all --parallel --skip-nx-cache --coverage --testTimeout=10000'
# - run: 'yarn nx run app-e2e:e2e --all --parallel --skip-nx-cache --coverage --testTimeout=10000 --detectOpenHandles=true'
- run: 'yarn test:integration --coverage'
- name: Use codecov token to upload coverage reports to codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codecov
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }} -f coverage-final.json