chore: separate build-standalone with coverage (#10905)
* chore: separate build-standalone with coverage * style polish
This commit is contained in:
committed by
Nicolò Ribaudo
parent
f651f22f96
commit
83993b08d5
9
.github/workflows/coverage.yml
vendored
9
.github/workflows/coverage.yml
vendored
@@ -22,15 +22,8 @@ jobs:
|
||||
- name: Generate coverage report
|
||||
run: |
|
||||
yarn --version
|
||||
make test-ci-coverage
|
||||
# Builds babel-standalone with the regular Babel config
|
||||
# test-ci-coverage doesn't test babel-standalone, as trying to gather coverage
|
||||
IS_PUBLISH=true make build-standalone
|
||||
# data for a JS file that's several megabytes large is bound to fail. Here,
|
||||
# we just run the babel-standalone test separately.
|
||||
yarn jest "\-standalone/test"
|
||||
make -j test-ci-coverage
|
||||
- name: Upload coverage report
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user