diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 46d9f2f0..cdef52c2 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -74,6 +74,9 @@ jobs: name: Test resources created without Helm chart runs-on: ubuntu-20.04 timeout-minutes: 15 + strategy: + matrix: + sidecar: [fluentbit, otelcol] steps: - uses: actions/checkout@v4 - name: Setup go @@ -95,10 +98,8 @@ jobs: run: | curl -Lo /usr/local/bin/kubectl-kuttl https://github.com/kudobuilder/kuttl/releases/download/v${{ env.KUTTL_VERSION }}/kubectl-kuttl_${{ env.KUTTL_VERSION }}_linux_x86_64 chmod +x /usr/local/bin/kubectl-kuttl - - name: Run e2e tests for Fluent Bit in tailing sidecar - run: make e2e TAILING_SIDECAR=fluentbit - - name: Run e2e tests for otelcol in tailing sidecar - run: make e2e TAILING_SIDECAR=otelcol + - name: Run e2e tests for ${{ matrix.sidecar }} in tailing sidecar + run: make e2e TAILING_SIDECAR=${{ matrix.sidecar }} test-helm-chart: name: Test Helm chart