Skip to content

Commit

Permalink
[DPE-4976] Run tests on juju 3.6 on a nightly schedule (#173)
Browse files Browse the repository at this point in the history
## Issue
We would like to run nightly tests with juju 3.6

## Solution
Upgrade to dpw v21.0.0 and add juju 3.6 into the matrix for tests. Also,
upgrade libjuju to ^3.5.2.0
  • Loading branch information
shayancanonical authored Aug 29, 2024
1 parent 3a17046 commit e01011f
Show file tree
Hide file tree
Showing 8 changed files with 1,059 additions and 162 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,14 @@ jobs:
bases-index: 0
- series: jammy
bases-index: 1
juju-snap-channel: ["2.9/stable", "3.4/stable"]
juju-snap-channel: ["2.9/stable", "3.4/stable", "3.6/beta"]
include:
- juju-snap-channel: "3.6/beta"
agent-version: "3.6-beta2"
libjuju-version: "3.5.2.0"
- juju-snap-channel: "3.4/stable"
agent-version: "3.4.3"
libjuju-version: "3.4.0.0"
libjuju-version: "3.5.2.0"
- juju-snap-channel: "2.9/stable"
agent-version: "2.9.45"
libjuju-version: "2.9.44.1"
Expand Down Expand Up @@ -168,6 +171,7 @@ jobs:
echo "mark_expression=not unstable" >> "$GITHUB_OUTPUT"
fi
- name: Run integration tests
if: ${{ !startsWith(matrix.juju-snap-channel, '3.6/') || github.event_name == 'schedule' }}
run: tox run -e integration -- "${{ matrix.groups.path_to_test_file }}" --group="${{ matrix.groups.group_number }}" -m '${{ steps.select-test-stability.outputs.mark_expression }}' --mysql-router-charm-series=${{ matrix.ubuntu-versions.series }} --mysql-router-charm-bases-index=${{ matrix.ubuntu-versions.bases-index }}
env:
LIBJUJU_VERSION_SPECIFIER: ${{ matrix.libjuju-version }}
Expand Down
Loading

0 comments on commit e01011f

Please sign in to comment.