Skip to content

Commit

Permalink
Tweak excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Oct 28, 2023
1 parent 422c8d0 commit 49e8f80
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
tox-environment:
- backup-integration
- charm-integration
- database-relation-integration
- db-relation-integration
- db-admin-relation-integration
- ha-replication-integration
- ha-self-healing-integration
- ha-restore-cluster-integration
Expand All @@ -62,20 +64,20 @@ jobs:
- tls-integration
- upgrade-integration
- upgrade-from-stable-integration
- database-relation-integration
- db-admin-relation-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:
- juju-snap-channel: "3.1/stable"
agent-version: "3.1.6"
libjuju-version: "3.2.2"
exclude-mark: "not juju2"
exclude-mark: "juju2"
- juju-snap-channel: "2.9/stable"
agent-version: "2.9.45"
libjuju-version: "2.9.45.0"
exclude-mark: "not juju3"
exclude-mark: "juju3"
name: ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.tox-environment }}
needs:
- lint
Expand All @@ -91,7 +93,6 @@ 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 All @@ -101,8 +102,7 @@ jobs:
- name: Setup operator environment
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: "1.28-strict/stable"
provider: lxd
bootstrap-options: "--agent-version ${{ matrix.agent-version }}"
juju-channel: ${{ matrix.juju-snap-channel }}
- name: Update python-libjuju version
Expand All @@ -126,7 +126,6 @@ jobs:
- name: Run integration tests
run: tox run -e ${{ matrix.tox-environment }} -- -m 'not ${{ matrix.exclude-mark }} ${{ steps.select-test-stability.outputs.mark_expression }}' --keep-models
env:
LIBJUJU_VERSION_SPECIFIER: ${{ matrix.libjuju-version }}
SECRETS_FROM_GITHUB: |
{
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
Expand Down

0 comments on commit 49e8f80

Please sign in to comment.