-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
740 additions
and
294 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 |
---|---|---|
@@ -1,34 +1,20 @@ | ||
name: JS Test chosen | ||
name: JS tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.js' | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: TEST CHOSEN | ||
name: Test | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install | ||
run: | | ||
npm --save-dev install \ | ||
qunit \ | ||
karma \ | ||
karma-qunit \ | ||
karma-coverage \ | ||
karma-chrome-launcher \ | ||
karma-module-resolver-preprocessor | ||
npm --no-save install https://github.com/jquery/jquery#main | ||
- name: Install | ||
run: | | ||
corepack enable | ||
make nodejs | ||
- name: Run tests | ||
run: | | ||
node_modules/karma/bin/karma start js/karma.conf.js | ||
- name: Run coverage | ||
run: | | ||
npm run karma-test:coverage | ||
- name: Run tests | ||
run: make wtr |
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 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 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
Oops, something went wrong.