👷 Add JS QUnit tests to build workflow with node-qunit-puppeteer (#4534)
This commit is contained in:
1 parent
5931d4493d
commit
fe84605f24
1 file changed
+14
@@ -65,6 +65,19 @@ jobs:
|
||||
run: |
|
||||
pytest
|
||||
|
||||
test-js-unit:
|
||||
name: 🧪 JavaScript unit tests
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 🏗 Set up test dependencies
|
||||
run: |
|
||||
npm -g install node-qunit-puppeteer@2.1.0
|
||||
- name: 🚀 Run helpers.js test suite
|
||||
run: |
|
||||
node-qunit-puppeteer tests/static/js/test-helpers.html
|
||||
|
||||
test-install:
|
||||
name: 🧪 Installation tests
|
||||
needs: build
|
||||
@@ -146,6 +159,7 @@ jobs:
|
||||
needs:
|
||||
- pre-commit
|
||||
- test-unit
|
||||
- test-js-unit
|
||||
- test-install
|
||||
- test-e2e
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user