Make the postgres charm channel match what's deployed until we can te… #778
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
name: Run charm integration tests | |
on: | |
pull_request_review: | |
on: | |
pull_request_review: | |
types: [submitted] | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- 'frontend/charm/**' | |
push: | |
branches: ["main"] | |
tags: ["v*.*.*"] | |
workflow_dispatch: | |
jobs: | |
integration-test: | |
permissions: | |
contents: read | |
packages: read | |
name: Integration tests | |
runs-on: [self-hosted, jammy, x64, xlarge] | |
if: github.event.review.state == 'APPROVED' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up microk8s | |
uses: canonical/certification-github-workflows/.github/actions/microk8s-setup@main | |
- name: Run integration tests | |
run: tox -e integration | |
- name: Archive charm testing outputs | |
uses: canonical/certification-github-workflows/.github/actions/archive-charm-testing-artifacts@main | |
defaults: | |
run: | |
working-directory: ./frontend/charm |