Skip to content

Commit c4f72d2

Browse files
committed
Conditional free space
1 parent df36e8b commit c4f72d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,17 @@ jobs:
6565
- upgrade-integration
6666
- upgrade-from-stable-integration
6767
juju-snap-channel: ["2.9/stable", "3.1/stable"]
68+
free-disk-space:
69+
- false
6870
exclude:
6971
# Admin tests need landscape on juju 2
7072
- tox-environment: db-admin-relation-integration
7173
juju-snap-channel: "3.1/stable"
7274
include:
75+
- tox-environment: database-relation-integration
76+
free-disk-space: true
77+
- tox-environment: db-admin-relation-integration
78+
free-disk-space: true
7379
- juju-snap-channel: "3.1/stable"
7480
agent-version: "3.1.6"
7581
libjuju-version: "3.2.2"
@@ -93,6 +99,7 @@ jobs:
9399
pipx install tox
94100
pipx install poetry
95101
- name: Free up disk space
102+
if: ${{ matrix.free-disk-space == true }}
96103
run: |
97104
# From https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
98105
sudo rm -rf /usr/share/dotnet

0 commit comments

Comments
 (0)