Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OGUI-416] Run coverage on macos for QCG #400

Merged
merged 11 commits into from
Oct 29, 2019
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ coverage:
threshold: null
if_not_found: success
QualityControl:
target: 69%
target: 68%
paths: "QualityControl"
threshold: null
if_not_found: success
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: (cd QualityControl; npm install )
- run: (cd QualityControl; npm test )
coverage:
runs-on: ubuntu-18.04
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
Expand All @@ -36,9 +36,4 @@ jobs:
- run: (cd QualityControl; npm install )
- run: (cd QualityControl; npm run coverage )
- run: (cd QualityControl; ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: QualityControl/coverage.lcov
flags: qualitycontrol
- run: (cd QualityControl; bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }})