Skip to content

Commit

Permalink
try stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealFalcon committed Apr 27, 2024
1 parent f20c48a commit 96ceefc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/alpine-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ jobs:
# https://github.com/canonical/cloud-init/issues/5158
run: lxc exec alpine -- ln -s /usr/share/zoneinfo/Europe/Brussels /etc/localtime

- name: Set up tox environment
# Setup the environment and then tell pytest to do essentially nothing
run: lxc exec alpine --cwd /root/cloud-init-rw -- tox -e py3 -- --cache-show=

- name: Stop network
# Take down network interfaces to ensure tests don't use network
run: lxc exec alpine -- ifdown -a

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

0 comments on commit 96ceefc

Please sign in to comment.