Skip to content

Commit 80a6ef8

Browse files
Update linux.yml
1 parent df7a900 commit 80a6ef8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/linux.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ jobs:
7878
run: |
7979
sudo dnf install -y sdl12-compat python3-wxpython4 xorg-x11-server-Xvfb python3-pip psmisc
8080
sudo dnf downgrade -y mesa* --refresh
81-
sudo dnf install -y glibc-locale-source
82-
export LANG=en_US.UTF-8
83-
sudo localedef --verbose --force -i en_US -f UTF-8 en_US.UTF-8
81+
sudo dnf install -y glibc-locale-source glibc-langpack-en
82+
export LC_ALL=C
83+
sudo localedef -i en_US -f UTF-8 en_US.UTF-8
8484
sudo -H pip install -r requirements-dev.txt
8585
- name: Run tests
8686
run: |
@@ -118,7 +118,11 @@ jobs:
118118
invoke test-ci
119119
pip install .
120120
which ride.py
121+
export LC_ALL=C
121122
export LANG=en_US.utf8
123+
echo "$LANG UTF-8" >> /etc/locale.gen
124+
sudo locale-gen
125+
sudo update-locale --reset LANG=$LANG
122126
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
123127
sleep 10
124128
killall xvfb-run

0 commit comments

Comments
 (0)