Skip to content

Commit

Permalink
Merge pull request ml-archive#44 from nodes-vapor/feature/fix-ci
Browse files Browse the repository at this point in the history
Replace Circle CI with Github Actions
  • Loading branch information
siemensikkema authored Sep 2, 2021
2 parents 476b4d3 + 1dc5f29 commit f05caa1
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 78 deletions.
66 changes: 0 additions & 66 deletions .circleci/config.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Documentation

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Generate Documentation
uses: SwiftDocOrg/swift-doc@master
with:
inputs: "Sources"
module-name: Flash
output: "Documentation"
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "Documentation"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_ACCESS_TOKEN }}
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/setup-xcode@v1
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
6 changes: 0 additions & 6 deletions Tests/FlashTests/FlashTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ class FlashTests: XCTestCase {
func testExample() throws {
XCTAssertTrue(true)
}

static var allTests : [(String, (FlashTests) -> () throws -> Void)] {
return [
("testExample", testExample),
]
}
}
6 changes: 0 additions & 6 deletions Tests/LinuxMain.swift

This file was deleted.

0 comments on commit f05caa1

Please sign in to comment.