Skip to content

Commit

Permalink
Saner marks
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Oct 28, 2023
1 parent bf0e086 commit 422c8d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ jobs:
- juju-snap-channel: "3.1/stable"
agent-version: "3.1.6"
libjuju-version: "3.2.2"
exclude-mark: "not juju2"
- juju-snap-channel: "2.9/stable"
agent-version: "2.9.45"
libjuju-version: "2.9.45.0"
exclude-mark: "not juju3"
name: ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.tox-environment }}
needs:
- lint
Expand Down Expand Up @@ -122,7 +124,7 @@ jobs:
echo "mark_expression=and not unstable" >> "$GITHUB_OUTPUT"
fi
- name: Run integration tests
run: tox run -e ${{ matrix.tox-environment }} -- -m 'test ${{ steps.select-test-stability.outputs.mark_expression }}' --keep-models
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: |
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ async def test_weebl_db(ops_test: OpsTest, charm: str) -> None:
await ops_test.model.remove_application("weebl", block_until_done=True)


@pytest.mark.notjuju3
@pytest.mark.juju2
async def test_canonical_livepatch_onprem_bundle_db(ops_test: OpsTest) -> None:
# Deploy and test the Livepatch onprem bundle (using this PostgreSQL charm
# and an overlay to make the Ubuntu Advantage charm work with PostgreSQL).
Expand Down

0 comments on commit 422c8d0

Please sign in to comment.