Skip to content

Commit

Permalink
Switch to GitHub Actions (#57)
Browse files Browse the repository at this point in the history
* Switch to GitHub Actions

* Update swift.yml

* :/

* Lets give this a whirl.

* update test name.

* Delete circle ci in favor of github.

* Update readme.

* Comment out address as it is broken for swift packages
  • Loading branch information
kylebrowning authored Nov 20, 2019
1 parent 03e1966 commit 9b79f5b
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 28 deletions.
27 changes: 0 additions & 27 deletions .circleci/config.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: test
on:
- pull_request
jobs:
xenial-5-1:
container:
image: vapor/swift:5.1-xenial
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: swift test
xenial-5-0:
container:
image: vapor/swift:5.0-xenial
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: swift test
bionic-5-1:
container:
image: vapor/swift:5.1-bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: swift test
bionic-5-0:
container:
image: vapor/swift:5.0-bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: swift test
thread:
container:
image: vapor/swift:5.1-bionic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: swift test --sanitize=thread
# address:
# container:
# image: vapor/swift:5.1-bionic
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - run: swift test --sanitize=address
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![sswg:sandbox|94x20](https://img.shields.io/badge/sswg-sandbox-lightgrey.svg)](https://github.com/swift-server/sswg/blob/master/process/incubation.md#sandbox-level)
[![License](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Build](https://img.shields.io/circleci/project/github/kylebrowning/APNSwift/master.svg?logo=circleci)](https://circleci.com/gh/kylebrowning/APNSwift/tree/master)
[![Build](https://github.com/kylebrowning/APNSwift/workflows/test/badge.svg)](https://github.com/kylebrowning/APNSwift/actions)
[![Swift](https://img.shields.io/badge/Swift-5.1-brightgreen.svg?colorA=orange&colorB=4E4E4E)](https://swift.org)

# APNSwift
Expand Down

0 comments on commit 9b79f5b

Please sign in to comment.