mirror of
https://github.com/3dmol/3Dmol.js.git
synced 2026-06-04 08:39:49 +09:00
attempts to get CI Coverage working reliably
This commit is contained in:
2
.github/workflows/Coverage.yml
vendored
2
.github/workflows/Coverage.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- name: Coverage
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=15000"
|
||||
NODE_OPTIONS: "--expose-gc --no-compilation-cache"
|
||||
# coverage has trouble fetching data for some reason in the CI,
|
||||
# I don't actually care about the test results (that's tested above)
|
||||
# so ignore any failure here
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"generate:tests": "python3 tests/auto/generate_tests.py",
|
||||
"generate:glcheck": "python3 ./tests/glcheck/generate_glcheck_render_tests.py -min",
|
||||
"generate:jest": "python3 tests/jest/generate_jest_render_tests.py",
|
||||
"cover": "npm run generate:jest && npx jest --coverage --verbose",
|
||||
"cover": "npm run generate:jest && npx jest --coverage --verbose --runInBand",
|
||||
"doc": "rm -rf doc/ && npx jsdoc -c jsdoc.conf.json src doc.md"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -8,7 +8,7 @@ The instructor can pose questions that the students then answer by clicking on a
|
||||
|
||||
## Self-Hosting
|
||||
|
||||
The easiest way to use the 3Dmol.js active learning environment is through the hosted viewer at [https://3dmol.csb.pitt.edu](https://3dmol.csb.pitt.edu). However, it may be desirable to host your own instance for your class. A light-weight Flask webserver can quickly be brought up on a Ubuntu Linux machine with a few commands:
|
||||
The easiest way to use the 3Dmol.js active learning environment is through the hosted viewer at [https://3dmol.org](https://3dmol.org). However, it may be desirable to host your own instance for your class. A light-weight Flask webserver can quickly be brought up on a Ubuntu Linux machine with a few commands:
|
||||
|
||||
|
||||
```{@lang bash}
|
||||
|
||||
Reference in New Issue
Block a user