Skip to content

Deduplicate github actions #2095

Deduplicate github actions

Deduplicate github actions #2095

name: Informing Integration Tests
on:
push:
paths-ignore:
- 'docs/**'
branches:
- main
- 'release-[0-9]+.[0-9]+'
- 'autoupdate/sync/**'
pull_request:
paths-ignore:
- 'docs/**'
permissions:
contents: read
jobs:
build-snap:
name: Build ${{ matrix.patch }}
uses: ./.github/workflows/build-snap.yaml
id: build-snap
strategy:
matrix:
patch: ["moonray"]
fail-fast: false
with:
flavor: ${{ matrix.patch }}
get-e2e-test-tags:
name: "Get e2e test tags"
uses: ./.github/workflows/get-e2e-test-tags.yaml

Check failure on line 32 in .github/workflows/integration-informing.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration-informing.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/integration-informing.yaml" -> "./.github/workflows/get-e2e-test-tags.yaml" : `outputs` is not a valid event name
test-integration:
name: Test ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu:20.04"]
patch: ["moonray"]
needs: build
uses: ./.github/workflows/run-e2e-tests.yaml
with:
arch: amd64
os: ${{ matrix.os }}
test-tags: ${{ jobs.get-e2e-test-tags.outputs.test-tags}}
artifact: k8s-${{ matrix.patch }}.snap