-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove JavaScript unit tests, they are not used
- Loading branch information
Showing
11 changed files
with
4 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,9 @@ on: | |
# Check all PR | ||
|
||
jobs: | ||
# Javascript tests and linting | ||
# Javascript linting | ||
npm-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: ['18.x', '20.x', '21.x'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# we need the full history to be able to get the chemiscope version with | ||
|
@@ -20,22 +17,15 @@ jobs: | |
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
node-version: '21.x' | ||
cache: 'npm' | ||
|
||
- name: configure access to git repositories in package-lock.json | ||
run: git config --global url."https://github.com/".insteadOf ssh://[email protected] | ||
|
||
- name: install npm dependencies | ||
run: npm ci | ||
|
||
- run: npm run build | ||
|
||
- run: sudo apt-get install xvfb | ||
|
||
# use xvfb to run the tests with a pseudo-display attached | ||
# so that the browsers started by karma think there is a screen | ||
- run: xvfb-run --auto-servernum npm test | ||
- run: npm test | ||
|
||
# Python unit tests | ||
python-test: | ||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.