Skip to content

Commit

Permalink
ci: Add timezone for alpine unit tests (#5216)
Browse files Browse the repository at this point in the history
  • Loading branch information
holmanb committed Apr 25, 2024
1 parent ddde8dd commit 725f5fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/alpine-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,10 @@ jobs:
# without this, tox fails during package install
run: lxc exec alpine -- git clone cloud-init-ro/ cloud-init-rw

- name: Set a timezone
# test for regression of GH-5158
# https://github.com/canonical/cloud-init/issues/5158
run: lxc exec alpine -- ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime

- name: Run unittests
run: lxc exec alpine --cwd /root/cloud-init-rw -- sh -c "tox -e py3"

0 comments on commit 725f5fb

Please sign in to comment.