diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 74d827a..b15125a 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -179,6 +179,7 @@ jobs: sudo apt-get update sudo apt-get install -y flatpak sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo + sudo flatpak install -y flathub com.github.tchx84.Flatseal - name: Integration tests run: sudo -E go test -v -tags integration -count=1 -coverprofile=coverage-flatpak.out ./flatpak/ - uses: actions/upload-artifact@v4 diff --git a/snap/snap_integration_test.go b/snap/snap_integration_test.go index 95569fa..cfd6d0c 100644 --- a/snap/snap_integration_test.go +++ b/snap/snap_integration_test.go @@ -24,7 +24,7 @@ func TestIntegration_Snap(t *testing.T) { caps := snack.GetCapabilities(mgr) assert.True(t, caps.VersionQuery, "snap should support VersionQuery") assert.False(t, caps.Hold) - assert.False(t, caps.Clean) + assert.True(t, caps.Clean, "snap should support Clean") assert.False(t, caps.FileOwnership) assert.False(t, caps.RepoManagement) assert.False(t, caps.KeyManagement)