Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Dec 20, 2023
1 parent 52266b7 commit a135b53
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/compatibility_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,22 @@ jobs:
xcode-version: ${{ matrix.xcode-version }}
- name: Swift version
run: swift --version
- name: Run tests against Apple's AttributeGraph
run: |
swift test \
-c debug \
-Xswiftc -warnings-as-errors \
--build-path .build-compatibility-test-debug
env:
OPENGRAPH_COMPATIBILITY_TEST: 1
# FIXME: Temporary disable this
# - name: Run tests against Apple's AttributeGraph on macOS
# run: |
# swift test \
# -c debug \
# -Xswiftc -warnings-as-errors \
# --build-path .build-compatibility-test-debug
# env:
# OPENGRAPH_COMPATIBILITY_TEST: 1
# - name: Run tests against Apple's AttributeGraph on iOS Simulator
# run: |
# xcodebuild test \
# -scheme OpenGraph-Package \
# -configuration Release \
# -sdk iphonesimulator \
# -destination "platform=iOS Simulator" \
# -derivedDataPath .build-test-release-iOS
# env:
# OPENGRAPH_COMPATIBILITY_TEST: 1
1 change: 0 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ if compatibilityTest {
openGraphCompatibilityTestTarget.dependencies.append("OpenGraph")
}


// Remove this when swift-testing is 1.0.0
let useSwiftTesting = ProcessInfo.processInfo.environment["OPENGRAPH_USE_SWIFT_TESTING"] != nil
if useSwiftTesting {
Expand Down

0 comments on commit a135b53

Please sign in to comment.