diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 40a38b519287..a863b876c447 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,12 @@ on: - main - stable-* pull_request: + workflow_dispatch: env: LXD_REQUIRED_TESTS: "storage_buckets" LXD_SKIP_TESTS: "clustering_upgrade clustering_upgrade_large" - GOCOVERDIR: "/home/runner/work/lxd/lxd/coverage" + GOCOVERDIR: ${{ github.event_name == 'workflow_dispatch' && '/home/runner/work/lxd/lxd/coverage' || '' }} permissions: contents: read