Skip to content

Instantly share code, notes, and snippets.

@laevandus

laevandus/ci.yml Secret

Created Jul 3, 2021
Embed
What would you like to do?
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