👷 Add JS QUnit tests to build workflow with node-qunit-puppeteer (#4534)

This commit is contained in:
Billy Richardson authored and GitHub committed 2022-05-31 14:16:47 +02:00
1 parent 5931d4493d
commit fe84605f24
1 file changed
+14
+14
View File
@@ -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