53
53
tox-environment :
54
54
- backup-integration
55
55
- charm-integration
56
+ - database-relation-integration
56
57
- db-relation-integration
58
+ - db-admin-relation-integration
57
59
- ha-replication-integration
58
60
- ha-self-healing-integration
59
61
- ha-restore-cluster-integration
@@ -62,20 +64,20 @@ jobs:
62
64
- tls-integration
63
65
- upgrade-integration
64
66
- upgrade-from-stable-integration
65
- - database-relation-integration
66
- - db-admin-relation-integration
67
67
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"
70
72
include :
71
73
- juju-snap-channel : " 3.1/stable"
72
74
agent-version : " 3.1.6"
73
75
libjuju-version : " 3.2.2"
74
- exclude-mark : " not juju2"
76
+ exclude-mark : " juju2"
75
77
- juju-snap-channel : " 2.9/stable"
76
78
agent-version : " 2.9.45"
77
79
libjuju-version : " 2.9.45.0"
78
- exclude-mark : " not juju3"
80
+ exclude-mark : " juju3"
79
81
name : ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.tox-environment }}
80
82
needs :
81
83
- lint
91
93
pipx install tox
92
94
pipx install poetry
93
95
- name : Free up disk space
94
- if : ${{ matrix.free-disk-space == true }}
95
96
run : |
96
97
# From https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
97
98
sudo rm -rf /usr/share/dotnet
@@ -101,8 +102,7 @@ jobs:
101
102
- name : Setup operator environment
102
103
uses : charmed-kubernetes/actions-operator@main
103
104
with :
104
- provider : microk8s
105
- channel : " 1.28-strict/stable"
105
+ provider : lxd
106
106
bootstrap-options : " --agent-version ${{ matrix.agent-version }}"
107
107
juju-channel : ${{ matrix.juju-snap-channel }}
108
108
- name : Update python-libjuju version
@@ -126,7 +126,6 @@ jobs:
126
126
- name : Run integration tests
127
127
run : tox run -e ${{ matrix.tox-environment }} -- -m 'not ${{ matrix.exclude-mark }} ${{ steps.select-test-stability.outputs.mark_expression }}' --keep-models
128
128
env :
129
- LIBJUJU_VERSION_SPECIFIER : ${{ matrix.libjuju-version }}
130
129
SECRETS_FROM_GITHUB : |
131
130
{
132
131
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
0 commit comments