Fix parser tests #201
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
colibri-lint: | |
name: Colibri Linter | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Lint | |
run: | | |
cd packages/colibri | |
npm install | |
npm run lint | |
teros-lint: | |
name: TerosHDL Linter | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Lint | |
run: | | |
cd packages/teroshdl | |
npm install | |
npm run lint | |
colibri-tests: | |
name: Colibri Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run Tests | |
run: | | |
cd packages/colibri | |
npm install | |
npm test | |
- name: Archive | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-report | |
path: | | |
packages/colibri/test-report/test-report.html | |
- name: Code Coverage Report | |
uses: irongut/CodeCoverageSummary@v1.3.0 | |
with: | |
filename: packages/colibri/coverage/cobertura-coverage.xml | |
fail_below_min: true | |
thresholds: '45 60' | |
indicators: true |