Skip to content

Commit

Permalink
GA: add temporary python3-rich dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Oct 26, 2022
1 parent ea4711e commit 917a3f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/autopkgtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
pull-lp-source netplan.io
cp -r netplan.io-*/debian .
rm -r debian/patches/ # clear any distro patches
# temporary until 'ethtool' is a proper test dependency
sed -i 's/wpasupplicant,/wpasupplicant, ethtool,/g' debian/tests/control
dch -v $(git describe --tags) "Autopkgtest CI testing (Jammy)"
- name: Run autopkgtest (incl. build)
run: |
sudo autopkgtest . -U --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 --env=DEB_BUILD_OPTIONS=nocheck -- lxd autopkgtest/ubuntu/jammy/amd64
# temporary until ethtool/python3-rich are proper (test-)dependencies
sudo autopkgtest . -U --setup-commands="apt -y install ethtool python3-rich" --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 --env=DEB_BUILD_OPTIONS=nocheck -- lxd autopkgtest/ubuntu/jammy/amd64
2 changes: 1 addition & 1 deletion .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
echo "APT::Get::Always-Include-Phased-Updates \"true\";" | sudo tee /etc/apt/apt.conf.d/90phased-updates
sudo sed -i '/deb-src/s/^# //' /etc/apt/sources.list
sudo apt update
sudo apt install python3-coverage curl meson gcovr expect
sudo apt install python3-coverage curl meson gcovr expect python3-rich
sudo apt build-dep netplan.io
# Runs the unit tests with coverage
Expand Down

0 comments on commit 917a3f1

Please sign in to comment.