Skip to content

Run tests: Commit 1f33b2d1569252b40e6b713b685fb822ea47fffe #7

Run tests: Commit 1f33b2d1569252b40e6b713b685fb822ea47fffe

Run tests: Commit 1f33b2d1569252b40e6b713b685fb822ea47fffe #7

Workflow file for this run

name: CI
run-name: 'Run tests: Commit ${{ github.sha }}'
on:
pull_request:
types: [opened, reopened, edited]
branches:
- master
workflow_dispatch:
jobs:
linux-test-runner:
name: Linux Test Runner
timeout-minutes: 30
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: 18.17.1
- name: Setup configs
run: |
cp config/common.json.example config/common.json \
&& cp config/service.report.json.example config/service.report.json \
&& cp config/facs/grc.config.json.example config/facs/grc.config.json \
&& cp config/facs/grc-slack.config.json.example config/facs/grc-slack.config.json
- name: Install deps
run: npm i
- name: Run tests
run: npm test -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: test-results
path: test-report.json