Lock file maintenance Python dependencies #1804
This file contains 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
# Copyright 2022 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- '.jujuignore' | |
- 'LICENSE' | |
- '**.md' | |
- .github/renovate.json5 | |
schedule: | |
- cron: '53 0 * * *' # Daily at 00:53 UTC | |
# Triggered on push to branch "main" by .github/workflows/release.yaml | |
workflow_call: | |
jobs: | |
lint: | |
name: Lint | |
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v24.0.6 | |
integration-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
juju: | |
- agent: 3.6.1 # renovate: juju-agent-pin-minor | |
allure_on_amd64: true | |
architecture: | |
- amd64 | |
name: Integration test charm | ${{ matrix.juju.agent }} | |
needs: | |
- lint | |
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v24.0.6 | |
with: | |
artifact-prefix: packed-charm- | |
architecture: ${{ matrix.architecture }} | |
cloud: microk8s | |
microk8s-snap-channel: 1.32-strict/stable # renovate: latest microk8s | |
juju-agent-version: ${{ matrix.juju.agent }} | |
_beta_allure_report: ${{ matrix.juju.allure_on_amd64 && matrix.architecture == 'amd64' }} | |
permissions: | |
contents: write # Needed for Allure Report beta |