Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Mmasoud1 committed May 30, 2024
1 parent 1d67d72 commit 962ec07
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ jobs:
run: |
/usr/bin/Xvfb :99 -screen 0 1280x1024x24 &
export DISPLAY=:99
- name: Install headless-gl dependencies
run: sudo apt-get install -y libxi6 libglu1-mesa
- name: Run Playwright tests
run: npm run test
- uses: actions/upload-artifact@v3
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,10 @@
"dependencies": {
"@niivue/niivue": "^0.43.3",
"@tensorflow/tfjs": "^4.19.0",
"gl-matrix": "^3.4.3"
"gl-matrix": "^3.4.3",
"headless-gl": "^4.1.2",
"gl": "^4.9.1",
"node-canvas": "^2.8.0"
},
"devDependencies": {
"@playwright/test": "^1.44.0",
2 changes: 2 additions & 0 deletions tests/model11.spec.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const gl = require('gl');

const { test, expect} = require('@playwright/test');

// we want to save timing info from the models to timing.json

0 comments on commit 962ec07

Please sign in to comment.