SNRGY-3693 chart widget: use new /device-groups endpoint option #1138
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
name: 'Tests' | |
on: | |
push: | |
branches: | |
- dev | |
- master | |
workflow_dispatch: | |
jobs: | |
multi: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: npm ci --force | |
- run: ./build-env.sh src . && NODE_OPTIONS="--max-old-space-size=8192" npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI --code-coverage --reporters=mocha,coverage | |
- name: Report Status | |
if: always() | |
uses: ravsamhq/notify-slack-action@master | |
with: | |
status: ${{ job.status }} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_HOOK }} |