diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a454859a..76837207 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,18 +49,12 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Setup LXD + uses: canonical/setup-lxd@main + - name: Install dependencies run: | set -x - - sudo apt-get autopurge moby-containerd docker uidmap -y - sudo ip link delete docker0 - sudo nft flush ruleset - - sudo snap refresh lxd - sudo adduser "$USER" lxd - sudo lxd init --auto - pip install --upgrade pip tox codecov - name: Coverage @@ -70,7 +64,7 @@ jobs: - name: Integration run: | - sudo -g lxd integration/run-integration-tests + integration/run-integration-tests publish: name: Publish