Skip to content

Commit

Permalink
Re-enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjavaxx committed Aug 5, 2023
1 parent 7dad483 commit cfd904f
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,14 @@ concurrency:
group: build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-macos:
name: Build macOS
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.3.1'
- name: Run tests
run: swift test -v
build-other-platforms:
build:
runs-on: macos-13
name: Build ${{ matrix.destination.name }}
strategy:
matrix:
destination:
- name: macOS
value: "platform=macOS,arch=arm64"
-
name: iOS
value: "platform=iOS Simulator,name=iPhone 14,OS=latest"
Expand All @@ -50,10 +42,12 @@ jobs:
-scheme SmoothGradient \
-destination '${{ matrix.destination.value }}' \
| xcpretty
# - name: Run tests
# run: |-
# set -o pipefail && NSUnbufferedIO=YES xcodebuild test \
# -scheme SmoothGradient \
# -destination '${{ matrix.destination.value }}' \
# -sdk iphonesimulator \
# | xcpretty
- name: Run tests
# only run tests for iOS
if: ${{ matrix.destination.name == 'iOS' }}
run: |-
set -o pipefail && NSUnbufferedIO=YES xcodebuild test \
-scheme SmoothGradient \
-destination '${{ matrix.destination.value }}' \
-sdk iphonesimulator \
| xcpretty

0 comments on commit cfd904f

Please sign in to comment.