Update GitHub actions (8/edge) #3626
This file contains hidden or 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 integration tests | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - "docs/**" | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| path: | |
| - tests/charms/mongodb_test_charm | |
| - tests/charms/mongodb_k8s_test_charm | |
| - tests/charms/mongos_test_charm | |
| - tests/charms/mongos_k8s_test_charm | |
| name: Build Test charm | ${{ matrix.path }} | |
| uses: ./.github/workflows/build_test_charms.yaml | |
| with: | |
| path-to-charm-directory: ${{ matrix.path }} | |
| artifact-prefix: packed-charm | |
| cache: true | |
| build-helpers: | |
| strategy: | |
| matrix: | |
| path: | |
| - tests/integration/applications/client_relations_charm | |
| - tests/integration/applications/continuous_write_charm | |
| - tests/integration/applications/mongos_client_charm | |
| name: Build charm | ${{ matrix.path }} | |
| uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v40.1.0 | |
| with: | |
| path-to-charm-directory: ${{ matrix.path }} | |
| artifact-prefix: packed-charm | |
| cache: true | |
| integration-test: | |
| name: Integration test charm | |
| needs: | |
| - build | |
| - build-helpers | |
| uses: ./.github/workflows/integration_test.yaml | |
| with: | |
| artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} | |
| secrets: inherit | |
| permissions: | |
| contents: write # Needed for Allure Report |