Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Feb 29, 2024
1 parent 51b0539 commit 5b09298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
npm install
npm run build
pip install -e .
pip install "pytest<8"
- name: Test with pytest
Expand All @@ -74,6 +76,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
npm install
npm run build
python -m pip install -U jupyterlab==4.1.2 jupyter-packaging~=0.12
pip install -e .
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"scripts": {
"dev": "npm run build -- --sourcemap=inline --watch",
"build": "esbuild js/widget.js --minify --format=esm --bundle --outdir=src/weas_widget/static --watch"
"build": "esbuild js/widget.js --minify --format=esm --bundle --outdir=src/weas_widget/static",
"build-watch": "esbuild js/widget.js --minify --format=esm --bundle --outdir=src/weas_widget/static --watch=forever"
},
"dependencies": {
"dat.gui": "^0.7.9",
Expand Down

0 comments on commit 5b09298

Please sign in to comment.