Skip to content

Commit

Permalink
ci: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Feb 28, 2025
1 parent 461155e commit a0f041f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/swift-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Swift Tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
name: Run Tests
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: Download Swift development toolchain
run: |
curl -O https://download.swift.org/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2024-03-19-a/swift-DEVELOPMENT-SNAPSHOT-2024-03-19-a-osx.pkg
sudo installer -pkg swift-DEVELOPMENT-SNAPSHOT-2024-03-19-a-osx.pkg -target /
- name: Build
run: swift build -v

- name: Run tests
run: swift test -v

0 comments on commit a0f041f

Please sign in to comment.