Skip to content

test: refactor init-extensions tests to avoid using ops.testing.Conte… #3131

test: refactor init-extensions tests to avoid using ops.testing.Conte…

test: refactor init-extensions tests to avoid using ops.testing.Conte… #3131

Workflow file for this run

name: QA
on:
push:
branches:
- "main"
- "feature/*"
- "hotfix/*"
- "release/*"
- "renovate/*"
pull_request:
merge_group:
jobs:
lint:
uses: canonical/starflow/.github/workflows/lint-python.yaml@main
test:
uses: canonical/starflow/.github/workflows/test-python.yaml@main
with:
# Limiting to amd64 is a workaround for https://github.com/canonical/charmcraft/issues/2018
# Once that's resolved we should run fast and slow tests on ARM64 Ubuntu too.
fast-test-platforms: '["ubuntu-22.04", "ubuntu-24.04", "macos-13", "macos-14-large"]'
fast-test-python-versions: '["3.10", "3.12"]'
# Slow tests run on noble to avoid an issue with old skopeo versions.
slow-test-platforms: '["ubuntu-24.04", "macos-14-large"]'
slow-test-python-versions: '["3.10", "3.12"]'
# Lowest tests run on noble to avoid an issue with old skopeo versions.
lowest-python-platform: ubuntu-24.04
lowest-python-version: "3.10"
use-lxd: true