Skip to content

Commit

Permalink
Install project deps based on package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
myedibleenso committed Apr 30, 2024
1 parent 86d6d15 commit a6d935c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/tests-and-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup NodeJS Dependencies
run: |
npm install express
npm install mathjax-node
npm install lodash
node-version: 18
# Install dependencies
- name: System-wide deps
run: |
Expand Down Expand Up @@ -151,11 +145,15 @@ jobs:
cargo build --release --bin skema_service
./target/release/skema_service &
echo "results for ${SKEMA_RS_HOST}:${SKEMA_RS_PORT}/version: `curl -s ${SKEMA_RS_HOST}:${SKEMA_RS_PORT}/version`"
- name: Install MathJax service deps
working-directory: ./skema/img2mml/data_generation
run: |
npm install
- name: "Launch Mathjax in background for testing"
working-directory: ./skema/img2mml/data_generation
run: |
npm start &
# NOTE: moved to runbefore the Python unit tests, so we can use the model coverage report results in testing
# NOTE: moved to run before the Python unit tests, so we can use the model coverage report results in testing
- name: "Code2fn model coverage reports"
run: python skema/program_analysis/model_coverage_report/model_coverage_report.py $GITHUB_WORKSPACE/docs/coverage/code2fn_coverage/ all

Expand Down

0 comments on commit a6d935c

Please sign in to comment.