Skip to content

[python ci] Update dependency pytest-operator to ^0.32.0 (#56) #40

[python ci] Update dependency pytest-operator to ^0.32.0 (#56)

[python ci] Update dependency pytest-operator to ^0.32.0 (#56) #40

Workflow file for this run

# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: Release to Charmhub
on:
push:
branches:
- main
paths-ignore:
- 'tests/**'
- 'docs/**'
- .github/renovate.json5
- pyproject.toml
- '.github/workflows/ci.yaml'
- '.github/workflows/lib-check.yaml'
jobs:
ci-tests:
name: Tests
uses: ./.github/workflows/ci.yaml
secrets: inherit
permissions:
actions: write # Needed to manage GitHub Actions cache
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
release:
name: Release charm
needs:
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
channel: edge
artifact-name: ${{ needs.build.outputs.artifact-name }}
secrets:
charmhub-token: ${{ secrets.CHARMHUB_TOKEN }}
permissions:
contents: write # Needed to create GitHub release