diff --git a/.github/workflows/test-build-deploy.yml b/.github/workflows/test-build-deploy.yml index 6784ed4c089..c6c7894ca2c 100644 --- a/.github/workflows/test-build-deploy.yml +++ b/.github/workflows/test-build-deploy.yml @@ -46,12 +46,21 @@ jobs: run: make BUILD_IN_CONTAINER=false check-modernize test: - runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + include: + - name: amd64 + runner: ubuntu-24.04 + - name: arm64 + runner: ubuntu-24.04-arm + name: test (${{ matrix.name }}) + runs-on: ${{ matrix.runner }} container: image: quay.io/cortexproject/build-image:master-8b48921f71 steps: - name: Checkout Repo - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Setup Git safe.directory run: | echo "this step is needed because when running in container, actions/checkout does not set safe.directory effectively." @@ -63,8 +72,18 @@ jobs: ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex - name: Run Tests run: make BUILD_IN_CONTAINER=false test + test-no-race: - runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + include: + - name: amd64 + runner: ubuntu-24.04 + - name: arm64 + runner: ubuntu-24.04-arm + name: test-no-race (${{ matrix.name }}) + runs-on: ${{ matrix.runner }} container: image: quay.io/cortexproject/build-image:master-8b48921f71 steps: