Skip to content

Commit

Permalink
Attemping to do some CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Feb 19, 2024
1 parent 0a62cc2 commit e173b08
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- '.editorconfig'
pull_request:
branches:
- main

jobs:
test:
name: Test
runs-on: macOS-latest
strategy:
matrix:
destination:
- "platform=macOS"
- "platform=iOS Simulator,name=iPhone 11"

steps:
- uses: actions/checkout@v3
- name: Test platform ${{ matrix.destination }}
run: set -o pipefail && xcodebuild -scheme EditorConfig -destination "${{ matrix.destination }}" test | xcpretty
linux-test:
name: Test Linux
runs-on: ubuntu-latest
container:
image: swift:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: swift test

0 comments on commit e173b08

Please sign in to comment.