diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 56174f3..f87d1a9 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,24 +9,24 @@ on: - main jobs: - test: - strategy: - matrix: - os: [macOS-14, ubuntu-24.04] - name: Test - runs-on: ${{ matrix.os }} + test-macos: + name: Test on macOS 14 + runs-on: macOS-14 steps: - uses: actions/checkout@v4 - - if: ${{ matrix.os == 'macOS-14' }} - name: Xcode Select Version + - name: Xcode Select Version uses: mobiledevops/xcode-select-version-action@v1 with: xcode-select-version: 16.1 - - if: ${{ matrix.os == 'ubuntu-24.04' }} - name: Install xcbeautify + - name: Test + run: set -o pipefail && swift test | xcbeautify --renderer github-actions + test-ubuntu: + name: Test on Ubuntu 24.04 + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: Test run: | eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - echo "/home/linuxbrew/.linuxbrew/Cellar/xcbeautify" >> "$GITHUB_PATH" brew install xcbeautify - - name: Test - run: set -o pipefail && swift test | xcbeautify --renderer github-actions + set -o pipefail && swift test | xcbeautify --renderer github-actions