Skip to content

Commit

Permalink
ci: fix timezone setup in test job
Browse files Browse the repository at this point in the history
  • Loading branch information
engineervix committed Jun 4, 2023
1 parent 3acef2d commit 1afd4be
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,17 @@ jobs:
run: |
apt update -y && apt upgrade -y
export DEBIAN_FRONTEND=noninteractive
export TZ=Africa/Lusaka
apt install -y build-essential tzdata locales libssl-dev libffi-dev python3-venv ffmpeg
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen
locale-gen
ln -fs /usr/share/zoneinfo/Africa/Lusaka /etc/localtime
dpkg-reconfigure --frontend noninteractive tzdata
apt install -y build-essential libssl-dev libffi-dev python3-venv ffmpeg
dpkg-reconfigure tzdata
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en
export LC_ALL=en_US.UTF-8
python -m venv ~/venv
source ~/venv/bin/activate
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
Expand Down

0 comments on commit 1afd4be

Please sign in to comment.