Skip to content

🧹 Code cleanup

🧹 Code cleanup #833

Workflow file for this run

name: Tests
## TODO
on:
pull_request:
push:
branches:
- master
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm ci
- run: npm run docker:test
# - run: ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov
- name: Send codecov report for RunConditionTable
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
static-analysis:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Installing dependencies
run: npm ci
- name: Running static analysis
run: npm run static
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install mocha
run: npm install -g mocha
- name: Installing dependencies
run: npm ci
- name: Running tests
run: npm run docker:test