Skip to content

Commit

Permalink
setup node and yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 28, 2024
1 parent bee1773 commit 5690a87
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ jobs:
python-version: ${{ matrix.python-version }}
use-only-tar-bz2: false # https://github.com/conda-incubator/setup-miniconda/issues/264

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Install Yarn
run: corepack enable

- name: Build labextension
run: |
cd js
npm install
cd ..
- name: Run tests
run: |
python -m pytest -vs tests --cov=nglview --cov-report=html --disable-pytest-warnings
Expand Down

0 comments on commit 5690a87

Please sign in to comment.