Skip to content

Commit 8dbe747

Browse files
committed
add ci
1 parent 88e39a7 commit 8dbe747

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-test:
13+
runs-on: macos-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Swift
19+
uses: swift-actions/setup-swift@v2
20+
with:
21+
swift-version: '6.0'
22+
23+
- name: Build
24+
run: swift build --build-tests
25+
26+
- name: Run tests
27+
run: swift test

0 commit comments

Comments
 (0)