How to use databases with 12-Factor charms #3130
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |