Skip to content

Commit

Permalink
github: Only build coverage data on workflow_dispatch
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Sep 11, 2024
1 parent 65ccfda commit 2a0d3f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a0d3f7

Please sign in to comment.