Closed jb-adams closed 3 years ago
@jb-adams The CI test workflow is failing. It usually preferable to review PRs once all the tests pass successfully, but in this case I can submit a review.
thanks @tschaffter I'll correct this
Additional questions:
- Why did you remove
package-lock.json
?
I'm still seeing package-lock.json
in the repo. Can you confirm?
@tschaffter the build is working now. You will notice that I split the Github Actions workflows into 2 separate files: one for pushes, and one for PRs. The main difference is that coverage reporting (and publishing of the report) is only run on push builds. This is what was causing PR builds to break.
You'll see here that before this change, the npm run pushCoverageReport
step was failing because the COVERALLS_REPO_TOKEN
environment variable is unset during PR builds.
I'm still seeing package-lock.json in the repo. Can you confirm?
My bad, yes the lock file is still there.
You will notice that I split the Github Actions workflows into 2 separate files
@jb-adams What about using a single workflow to avoid the duplication of the test code and use an if:
statement to jobs to execute them conditionally?
@jb-adams What about using a single workflow to avoid the duplication of the test code and use an
if:
statement to jobs to execute them conditionally?
Yeah that sounds good but I didn't quite know how to implement :p I'll do a bit of research. Do you know of any environment variable that basically captures "is this a PR build? -> true/false"
buildPages
list). This was needed for DRS, and makes program more flexible overall--config
value to override default.spec-docs.json
ga4gh
theme minor update