Skip to content

Commit

Permalink
fix the UTC issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Neunert committed May 21, 2024
1 parent c6ad733 commit 72b1b9a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ before_script:
- python -V # Print out python version for debugging
- apt update
- apt install -y libusb-1.0-0-dev libudev-dev # usb-support in hidapi
# https://github.com/python-babel/babel/issues/990#issuecomment-1760326334
- rm -f /etc/localtime
- ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
# This doesn't get cached in gitlab but we don't need it anyway for now:
# - ./tests/install_noded.sh --debug --elements compile
- pip3 install --upgrade virtualenv
Expand Down Expand Up @@ -163,7 +166,10 @@ release_electron_linux_windows:
# Only difference to default befor_script: (ToDo fix this)
- python3 -m virtualenv --python=python3 .env
- source .env/bin/activate
- TZ=UTC pip3 install -e ".[test]" # TZ=UTC because https://github.com/nektos/act/issues/1853
# https://github.com/python-babel/babel/issues/990#issuecomment-1760326334
- rm -f /etc/localtime
- ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
- pip3 install -e ".[test]" # TZ=UTC because https://github.com/nektos/act/issues/1853
script:
- echo "Releasing for ${CI_PROJECT_ROOT_NAMESPACE}"
- export CI_PROJECT_ROOT_NAMESPACE # needed in the build-script to download the right windows-binary
Expand Down

0 comments on commit 72b1b9a

Please sign in to comment.