Skip to content

Commit

Permalink
Disable OpenSSL during JS tests
Browse files Browse the repository at this point in the history
PhantomJS is outdated and tries to use parts of OpenSSL that are no
longer there.  We shouldn't need SSL for the JS tests, so this attempts
to disable it temporarily during the test run.
  • Loading branch information
lunkwill42 committed Oct 15, 2024
1 parent 550d7ec commit e8443cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
npm ci
- name: npm test
run: xvfb-run -a npm test
run: OPENSSL_CONF=/dev/null xvfb-run -a npm test
working-directory: ./python/nav/web/static/js

- name: Upload JavaScript test reports
Expand Down

0 comments on commit e8443cc

Please sign in to comment.