Skip to content

Commit 49e8f80

Browse files
committed
Tweak excludes
1 parent 422c8d0 commit 49e8f80

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
tox-environment:
5454
- backup-integration
5555
- charm-integration
56+
- database-relation-integration
5657
- db-relation-integration
58+
- db-admin-relation-integration
5759
- ha-replication-integration
5860
- ha-self-healing-integration
5961
- ha-restore-cluster-integration
@@ -62,20 +64,20 @@ jobs:
6264
- tls-integration
6365
- upgrade-integration
6466
- upgrade-from-stable-integration
65-
- database-relation-integration
66-
- db-admin-relation-integration
6767
juju-snap-channel: ["2.9/stable", "3.1/stable"]
68-
free-disk-space:
69-
- false
68+
exclude:
69+
# Admin tests need landscape on juju 2
70+
- tox-environment: db-admin-relation-integration
71+
juju-snap-channel: "3.1/stable"
7072
include:
7173
- juju-snap-channel: "3.1/stable"
7274
agent-version: "3.1.6"
7375
libjuju-version: "3.2.2"
74-
exclude-mark: "not juju2"
76+
exclude-mark: "juju2"
7577
- juju-snap-channel: "2.9/stable"
7678
agent-version: "2.9.45"
7779
libjuju-version: "2.9.45.0"
78-
exclude-mark: "not juju3"
80+
exclude-mark: "juju3"
7981
name: ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.tox-environment }}
8082
needs:
8183
- lint
@@ -91,7 +93,6 @@ jobs:
9193
pipx install tox
9294
pipx install poetry
9395
- name: Free up disk space
94-
if: ${{ matrix.free-disk-space == true }}
9596
run: |
9697
# From https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
9798
sudo rm -rf /usr/share/dotnet
@@ -101,8 +102,7 @@ jobs:
101102
- name: Setup operator environment
102103
uses: charmed-kubernetes/actions-operator@main
103104
with:
104-
provider: microk8s
105-
channel: "1.28-strict/stable"
105+
provider: lxd
106106
bootstrap-options: "--agent-version ${{ matrix.agent-version }}"
107107
juju-channel: ${{ matrix.juju-snap-channel }}
108108
- name: Update python-libjuju version
@@ -126,7 +126,6 @@ jobs:
126126
- name: Run integration tests
127127
run: tox run -e ${{ matrix.tox-environment }} -- -m 'not ${{ matrix.exclude-mark }} ${{ steps.select-test-stability.outputs.mark_expression }}' --keep-models
128128
env:
129-
LIBJUJU_VERSION_SPECIFIER: ${{ matrix.libjuju-version }}
130129
SECRETS_FROM_GITHUB: |
131130
{
132131
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",

0 commit comments

Comments
 (0)