Skip to content

Commit

Permalink
chore: test both new and old loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Dec 17, 2024
1 parent 292942b commit 598edc3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,28 @@ jobs:
- series: jammy
bases-index: 1
juju-snap-channel: ["2.9/stable", "3.4/stable", "3.6/stable"]
juju-new-wait-for-idle: ["True", "False"]
include:
- juju-snap-channel: "3.6/stable"
agent-version: "3.6.0"
libjuju-version: "3.5.2.0"
juju-new-wait-for-idle: "True"
- juju-snap-channel: "3.4/stable"
agent-version: "3.4.3"
libjuju-version: "3.5.2.0"
juju-new-wait-for-idle: "True"
- juju-snap-channel: "3.6/stable"
agent-version: "3.6.0"
libjuju-version: "3.5.2.0"
juju-new-wait-for-idle: "False"
- juju-snap-channel: "3.4/stable"
agent-version: "3.4.3"
libjuju-version: "3.5.2.0"
juju-new-wait-for-idle: "False"
- juju-snap-channel: "2.9/stable"
agent-version: "2.9.51"
libjuju-version: "2.9.49.0"
juju-new-wait-for-idle: "False"
exclude:
- groups: {path_to_test_file: tests/integration/test_data_integrator.py}
ubuntu-versions: {series: focal}
Expand Down Expand Up @@ -177,6 +189,7 @@ jobs:
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 }}
JUJU_NEW_WAIT_FOR_IDLE: ${{ matrix.juju-new-wait-for-idle }}
SECRETS_FROM_GITHUB: |
{
"UBUNTU_PRO_TOKEN" : "${{ secrets.UBUNTU_PRO_TOKEN }}",
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pass_env =
CI
GITHUB_OUTPUT
SECRETS_FROM_GITHUB
JUJU_NEW_WAIT_FOR_IDLE
commands_pre =
poetry install --only integration
commands =
Expand Down

0 comments on commit 598edc3

Please sign in to comment.