diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 44d27367b..84c8c2f39 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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