.gitlab-ci.yml: run playwright tests on fedora
This commit is contained in:
parent
e560f011aa
commit
ad5b378479
2 changed files with 8 additions and 2 deletions
|
|
@ -30,6 +30,8 @@ test:
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- RUNNER:
|
- RUNNER:
|
||||||
|
- aws/fedora-41-x86_64
|
||||||
|
- aws/fedora-42-x86_64
|
||||||
- aws/rhel-9.6-nightly-x86_64
|
- aws/rhel-9.6-nightly-x86_64
|
||||||
- aws/rhel-10.0-nightly-x86_64
|
- aws/rhel-10.0-nightly-x86_64
|
||||||
INTERNAL_NETWORK: ["true"]
|
INTERNAL_NETWORK: ["true"]
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,16 @@ source /etc/os-release
|
||||||
sudo dnf install -y \
|
sudo dnf install -y \
|
||||||
libappstream-glib
|
libappstream-glib
|
||||||
|
|
||||||
# RHEL9 has nodejs and npm separately
|
|
||||||
if [[ "$ID" == rhel && ${VERSION_ID%.*} == 10 ]]; then
|
if [[ "$ID" == rhel && ${VERSION_ID%.*} == 10 ]]; then
|
||||||
sudo dnf install -y nodejs-npm \
|
sudo dnf install -y nodejs-npm \
|
||||||
sqlite # node fails to pull this in
|
sqlite # node fails to pull this in
|
||||||
else
|
elif [[ "$ID" == rhel ]]; then
|
||||||
sudo dnf install -y npm
|
sudo dnf install -y npm
|
||||||
|
elif [[ "$ID" == fedora ]]; then
|
||||||
|
sudo dnf install -y \
|
||||||
|
nodejs-npm \
|
||||||
|
sqlite \
|
||||||
|
gettext
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npm ci
|
npm ci
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue