name: CI-TEST on: push: branches: - 'main' - 'release-v*' - 'staging/*' pull_request: workflow_dispatch: jobs: ci-test: runs-on: ubuntu-latest if: github.repository == 'aws/karpenter-provider-aws' strategy: fail-fast: false matrix: k8sVersion: ["1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x", "1.30.x", "1.31.x"] steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - uses: ./.github/actions/install-deps with: k8sVersion: ${{ matrix.k8sVersion }} - run: K8S_VERSION=${{ matrix.k8sVersion }} make ci-test - name: Send coverage # should only send converage once https://docs.coveralls.io/parallel-builds if: matrix.k8sVersion == '1.31.x' env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: goveralls -coverprofile=coverage.out -service=github