Skip to content

Commit

Permalink
Adds GitHub Action for Linux tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrodputman committed Jul 9, 2023
1 parent 3444a9f commit c5ba6ff
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 25 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/RunTests-macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on: [pull_request]

jobs:
build:

runs-on: macos-13

name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-latest]
swift: ["5.9", "5.9"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Select Xcode 15 beta
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v3
- name: Build
run: swift build
- name: Run tests
run: swift test
run: swift test --enable-test-discovery
8 changes: 0 additions & 8 deletions Tests/LinuxMain.swift

This file was deleted.

10 changes: 0 additions & 10 deletions Tests/SwiftNESTests/XCTestManifests.swift

This file was deleted.

0 comments on commit c5ba6ff

Please sign in to comment.