Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
siemensikkema committed Jun 17, 2020
1 parent ab67bcf commit cee021b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 39 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/swift.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test
on:
pull_request:
push:
branches:
- master
jobs:
linux:
runs-on: ubuntu-latest
container: swift:5.2-bionic
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Run tests with Thread Sanitizer
run: swift test --enable-test-discovery --sanitize=thread
macOS:
runs-on: macos-latest
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest
- name: Check out code
uses: actions/checkout@v2
- name: Run tests with Thread Sanitizer
run: swift test --enable-test-discovery --sanitize=thread
8 changes: 1 addition & 7 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
import XCTest

import QueuesFluentDriverTests

var tests = [XCTestCaseEntry]()
tests += QueuesFluentDriverTests.allTests()
XCTMain(tests)
fatalError("Please use swift test --enable-test-discovery to run the tests instead")
4 changes: 0 additions & 4 deletions Tests/QueuesFluentDriverTests/QueuesFluentDriverTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ final class QueuesFluentDriverTests: XCTestCase {
// results.
//XCTAssertEqual(QueuesFluentDriver().text, "Hello, World!")
}

static var allTests = [
("testExample", testExample),
]
}
9 changes: 0 additions & 9 deletions Tests/QueuesFluentDriverTests/XCTestManifests.swift

This file was deleted.

0 comments on commit cee021b

Please sign in to comment.