generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 921 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Tests
on:
pull_request:
jobs:
unit-tests:
name: Unit Tests
uses: canonical/operator-workflows/.github/workflows/test.yaml@main
secrets: inherit
with:
self-hosted-runner: false
integration-tests:
name: Integration Tests
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
secrets: inherit
with:
channel: 1.29-strict/stable
charmcraft-channel: latest/edge
juju-channel: 3.6/stable
microk8s-addons: "dns ingress rbac storage"
pre-run-script: tests/integration/prepare.sh
self-hosted-runner: false
check-connector-sync:
name: Check Connectors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install tox
- run: tox -e generate-connectors
- run: git diff --exit-code