Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ikelax committed Jan 19, 2025
1 parent 9dd403b commit d0bb46d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0bb46d

Please sign in to comment.