diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index e8eef0d29..526415e98 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -6,8 +6,8 @@ jobs: name: Build strategy: matrix: - swift: [5.5.3, 5.6.3, 5.7.1] - os: [ubuntu-latest, macos-latest] + swift: [5.6.3, 5.7.1] + os: [macos-latest, ubuntu-latest] runs-on: ${{ matrix.os }} steps: - name: Install Swift @@ -22,37 +22,5 @@ jobs: run: swift build -c debug - name: Build (Release) run: swift build -c release - - test-linux: - name: Test Linux - strategy: - matrix: - swift: [5.5.3, 5.6.3, 5.7.1] - os: [ubuntu-latest] - runs-on: ${{ matrix.os }} - steps: - - name: Install Swift - uses: slashmo/install-swift@v0.3.0 - with: - version: ${{ matrix.swift }} - - name: Checkout - uses: actions/checkout@v2 - - name: Swift Version - run: swift --version - - name: Test (Debug) - run: swift test --configuration debug - - name: Test (Release) - run: swift test --configuration release -Xswiftc -enable-testing - - test-macOS: - name: Test macOS - runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Swift Version - run: swift --version - name: Test (Debug) - run: swift test --configuration debug --enable-code-coverage - - name: Test (Release) - run: swift test --configuration release -Xswiftc -enable-testing --enable-code-coverage + run: swift test -c debug \ No newline at end of file