Skip to content

chore(deps): update dependency tomli-w to v1.1.0 #1032

chore(deps): update dependency tomli-w to v1.1.0

chore(deps): update dependency tomli-w to v1.1.0 #1032

name: Integration tests
on:
pull_request:
jobs:
extra-args:
runs-on: ubuntu-latest
outputs:
args: ${{ steps.flags.outputs.args }}
steps:
- name: Determine extra args
id: flags
env:
TITLE: ${{ github.event.pull_request.title }}
JOB: ${{ github.job }}
WORKFLOW: ${{ github.workflow }}
run: |
EXTRA_ARGS="--crash-dump=on-failure"
if [[ "$TITLE" == *"[COS]"* ]]; then
EXTRA_ARGS="$EXTRA_ARGS --cos"
fi
echo "args=$EXTRA_ARGS" >> "$GITHUB_OUTPUT"
charmcraft-channel:
runs-on: ubuntu-24.04
outputs:
channel: ${{ steps.charmcraft.outputs.channel }}
steps:
- uses: actions/checkout@v4
- id: charmcraft
run: echo "channel=$(cat .charmcraft-channel)" >> $GITHUB_OUTPUT
integration-tests:
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
needs: [charmcraft-channel, extra-args]
strategy:
matrix:
arch:
- {id: amd64-k8s, suite: k8s, builder-label: ubuntu-22.04, tester-arch: x64}
- {id: amd64-etcd, suite: etcd, builder-label: ubuntu-22.04, tester-arch: x64}
secrets: inherit
with:
identifier: ${{ matrix.arch.id }}
charmcraft-channel: ${{ needs.charmcraft-channel.outputs.channel }}
extra-arguments: ${{needs.extra-args.outputs.args}} -k test_${{ matrix.arch.suite }}
juju-channel: 3/stable
load-test-enabled: false
provider: lxd
self-hosted-runner: true
self-hosted-runner-arch: ${{ matrix.arch.tester-arch }}
test-timeout: 120
test-tox-env: integration-${{ matrix.arch.suite }}
trivy-fs-enabled: false
trivy-image-config: "trivy.yaml"
tmate-debug: true
zap-enabled: false