[OGUI-1424] Apply message field filter as last check in live (#2148) #1888
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: QualityControl | |
on: | |
pull_request: | |
paths: | |
- 'QualityControl/**/*' | |
- '.github/workflows/qc.yml' | |
push: | |
branches: | |
- 'main' | |
- 'dev' | |
jobs: | |
test: | |
name: Tests on ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: (cd QualityControl; npm ci ) | |
- run: (cd QualityControl; npm test ) | |
coverage: | |
name: Tests & coverage on macOS-latest | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: (cd QualityControl; npm ci ) | |
- run: (cd QualityControl; npm run coverage ) | |
- run: (cd QualityControl; ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov) | |
- name: Send codecov report for QualityControl | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets. NEW_CODECOV_TOKEN }} | |
flags: qualitycontrol | |
fail_ci_if_error: true |