From 177dadaf49b10243456f853b430fb0b93d76f881 Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 13 Nov 2023 16:34:13 -0500 Subject: [PATCH] Use zsh as shell for macOS integration tests. --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86dae8ce58..884fe6fb26 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,25 +32,25 @@ jobs: # === OS Specific Job (runs on each OS) === os_specific: - name: ${{ matrix.platform }} + name: ${{ matrix.sys.os }} timeout-minutes: 90 strategy: matrix: go-version: - 1.20.x - platform: - - ubuntu-20.04 - - macos-11 - - windows-2019 + sys: + - {os: ubuntu-20.04} + - {os: macos-11, shell: zsh} + - {os: windows-2019} fail-fast: false - runs-on: ${{ matrix.platform }} + runs-on: ${{ matrix.sys.os }} env: ACTIVESTATE_CI: true ACTIVESTATE_CLI_DISABLE_RUNTIME: true SHELL: bash GITHUB_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} concurrency: - group: ${{ github.ref }}-${{ github.event_name }}-${{ matrix.platform }} + group: ${{ github.ref }}-${{ github.event_name }}-${{ matrix.sys.os }} cancel-in-progress: true # === OS Specific Steps === @@ -326,7 +326,7 @@ jobs: if [[ "$TEST_SUITE_TAGS" == "all" ]]; then TIMEOUT=60m fi - SHELL='' go test -timeout $TIMEOUT -v `go list ./... | grep "integration"` -json 2>&1 | gotestfmt -hide empty-packages + SHELL='${{ matrix.sys.shell }}' go test -timeout $TIMEOUT -v `go list ./... | grep "integration"` -json 2>&1 | gotestfmt -hide empty-packages continue-on-error: ${{ github.event_name == 'schedule' }} env: INTEGRATION_TEST_USERNAME: ${{ secrets.INTEGRATION_TEST_USERNAME }} @@ -367,7 +367,7 @@ jobs: "type": "section", "text": { "type": "plain_text", - "text": "Select the '${{ matrix.platform }}' job and expand 'Integration Tests' to inspect the failures." + "text": "Select the '${{ matrix.sys.os }}' job and expand 'Integration Tests' to inspect the failures." } } ] @@ -386,7 +386,7 @@ jobs: name: Upload Session Artifacts uses: actions/upload-artifact@v2 with: - name: session-build-${{ matrix.platform }} + name: session-build-${{ matrix.sys.os }} path: build/ # === Deploy job (runs once with combined artifacts from OS specific job) ===