Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Add GitHub Action CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria committed Feb 7, 2023
1 parent c6938f2 commit a3253d7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'

jobs:
test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build and Test
run: swift test

swiftlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
with:
args: --config .swiftlint.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ You can automatically format your code using:
## Running tests from cmd-line

```shell
./scripts/run_tests.sh
swift test
```

0 comments on commit a3253d7

Please sign in to comment.