perf: Unregister the topology domain when failing NodeClaim creation … #7624
This file contains 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: presubmit | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
presubmit: | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/install-deps | |
with: | |
k8sVersion: ${{ matrix.k8sVersion }} | |
- name: Enable the actionlint matcher | |
run: echo "::add-matcher::.github/actionlint-matcher.json" | |
- run: K8S_VERSION=${{ matrix.k8sVersion }} make presubmit | |
- 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 |