Skip to content

Commit

Permalink
add basic testing in CI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn authored Jul 5, 2024
1 parent 7729644 commit 5a27f7c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- main
paths:
- "**.swift"
- "**.yml"
pull_request:
workflow_dispatch:

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ["swift:5.10", "swiftlang/swift:nightly-6.0-jammy"]

container:
image: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: swift test

0 comments on commit 5a27f7c

Please sign in to comment.