Skip to content

Run charm integration tests #797

Run charm integration tests

Run charm integration tests #797

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