Skip to content

Instantly share code, notes, and snippets.

@laevandus

laevandus/ci.yml Secret

Created July 3, 2021 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/17a7e89e132d6d7e74e452fbc57d2235 to your computer and use it in GitHub Desktop.
Save laevandus/17a7e89e132d6d7e74e452fbc57d2235 to your computer and use it in GitHub Desktop.
name: CI
on:
push:
branches: [ main ]
pull_request:
branches:
- '*'
jobs:
tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Lint
run: swiftlint
- name: Build for macOS
run: swift build -v
- name: Run macOS tests
run: swift test -v
- name: Run iOS tests
run: sh ./Scripts/ci-ios-code-coverage.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment