Skip to content

Add arm64, ppc64el and s390x and migrate workflows to charm-ci #424

Add arm64, ppc64el and s390x and migrate workflows to charm-ci

Add arm64, ppc64el and s390x and migrate workflows to charm-ci #424

name: Integration tests
on:
pull_request:
schedule:
- cron: "0 15 * * SAT"
jobs:
integration-test:
uses: canonical/charm-ci/.github/workflows/integration-test.yml@main
secrets: inherit
permissions:
contents: read
packages: write
actions: read
with:
working-directory: .
spread-jobs-include: "*tests/integration*"
build-timeout-minutes: 120
required_status_checks:
name: Required Integration Test Status Checks
runs-on: ubuntu-latest
needs:
- integration-test
if: always() && !cancelled()
timeout-minutes: 5
steps:
- name: Check integration-test status
run: |
RESULT="${{ needs.integration-test.result }}"
if [ "$RESULT" = "success" ] || [ "$RESULT" = "skipped" ]; then
exit 0
else
echo "integration-test failed with status: $RESULT"
exit 1
fi