Skip to content
Snippets Groups Projects
Commit 1e35799d authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :fist:
Browse files

ci: move test-env configuration into separate file

parent 3c13d5a0
No related branches found
No related tags found
No related merge requests found
......@@ -53,10 +53,7 @@ test::js:
FF_NETWORK_PER_BUILD: 1
before_script:
- ADBLOCK=true npm ci
- npx playwright install-deps
- apt update -y && apt install -y xmlstarlet zbar-tools
# Imagemagick prevents PDF to image conversions by default, but we need that for reading QR codes
- xmlstarlet ed -L -u 'policymap/policy[@domain="coder"][@pattern="PDF"]/@rights' -v 'read|write' /etc/ImageMagick-6/policy.xml
- scripts/prep-test-env.sh
script:
- npm run test -- --browser "$BROWSER" --retries 3
parallel:
......
#!/bin/sh
set -eu
apt update -y
apt install -y xmlstarlet zbar-tools
# Imagemagick prevents PDF to image conversions by default, but we need that for reading QR codes
xmlstarlet ed -L -u 'policymap/policy[@domain="coder"][@pattern="PDF"]/@rights' -v 'read|write' /etc/ImageMagick-6/policy.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment