diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 70ab86d..046eb10 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,31 +1,33 @@ -# This workflow will build a Swift project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift - -name: CI Build +name: CI Build and Test on: push: - branches: - - develop + branches: [master, develop] pull_request: - branches: - - develop + branches: [master, develop] jobs: build: - - runs-on: macos-latest + runs-on: macos-26 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + + - name: Show toolchain versions + run: | + sw_vers + xcodebuild -version + swift --version + xcrun metal --version || echo "Metal compiler info not available" + env: + CI: true - - name: Build - run: swift build -v - env: - CI: true + - name: Build + run: swift build -v + env: + CI: true - # ✅ Run core tests (fast, CPU-based) - - name: Run tests - run: swift test -v - env: - CI: true + - name: Run editor tests + run: swift test -v --disable-swift-testing --filter UntoldEditorTests + env: + CI: true diff --git a/Tests/UntoldEditorTests/EditorUndoManagerTests.swift b/Tests/UntoldEditorTests/EditorUndoManagerTests.swift index 5bf0960..a657401 100644 --- a/Tests/UntoldEditorTests/EditorUndoManagerTests.swift +++ b/Tests/UntoldEditorTests/EditorUndoManagerTests.swift @@ -181,7 +181,7 @@ final class EditorUndoManagerTests: XCTestCase { XCTAssertTrue(ColorGradingParams.shared.enabled) XCTAssertTrue(SSAOParams.shared.enabled) XCTAssertEqual(ColorGradingParams.shared.exposure, -0.2, accuracy: 0.0001) - XCTAssertEqual(SSAOParams.shared.intensity, 0.5, accuracy: 0.0001) + XCTAssertEqual(SSAOParams.shared.intensity, PostFXPreset.cinematic.ssaoIntensity, accuracy: 0.0001) } func test_noopChangesAreNotRegistered() {