.gitlab-ci.yml: run playwright tests on fedora

This commit is contained in:
Sanne Raymaekers 2025-05-08 18:15:12 +02:00 committed by Klara Simickova
parent e560f011aa
commit ad5b378479
2 changed files with 8 additions and 2 deletions

View file

@ -30,6 +30,8 @@ test:
parallel:
matrix:
- RUNNER:
- aws/fedora-41-x86_64
- aws/fedora-42-x86_64
- aws/rhel-9.6-nightly-x86_64
- aws/rhel-10.0-nightly-x86_64
INTERNAL_NETWORK: ["true"]

View file

@ -6,12 +6,16 @@ source /etc/os-release
sudo dnf install -y \
libappstream-glib
# RHEL9 has nodejs and npm separately
if [[ "$ID" == rhel && ${VERSION_ID%.*} == 10 ]]; then
sudo dnf install -y nodejs-npm \
sqlite # node fails to pull this in
else
elif [[ "$ID" == rhel ]]; then
sudo dnf install -y npm
elif [[ "$ID" == fedora ]]; then
sudo dnf install -y \
nodejs-npm \
sqlite \
gettext
fi
npm ci