Skip to content

Improvement/ORCT-130/dockers dev test separation #847

Improvement/ORCT-130/dockers dev test separation

Improvement/ORCT-130/dockers dev test separation #847

Workflow file for this run

name: Tests
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 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: Running tests
# run: npm run test