Skip to content

Commit

Permalink
Conditionally free disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Oct 28, 2023
1 parent df36e8b commit ee6a2fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ jobs:
- upgrade-integration
- upgrade-from-stable-integration
juju-snap-channel: ["2.9/stable", "3.1/stable"]
free-disk-space:
- false
exclude:
# Admin tests need landscape on juju 2
- tox-environment: db-admin-relation-integration
juju-snap-channel: "3.1/stable"
include:
- tox-environment: database-relation-integration
free-disk-space: true
- tox-environment: db-admin-relation-integration
free-disk-space: true
- juju-snap-channel: "3.1/stable"
agent-version: "3.1.6"
libjuju-version: "3.2.2"
Expand All @@ -93,6 +99,7 @@ jobs:
pipx install tox
pipx install poetry
- name: Free up disk space
if: ${{ matrix.free-disk-space == true }}
run: |
# From https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
sudo rm -rf /usr/share/dotnet
Expand Down

0 comments on commit ee6a2fe

Please sign in to comment.