Skip to content

Commit edab77d

Browse files
committed
add github test action
1 parent 5bc314e commit edab77d

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: tests-${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
test:
15+
name: Swift Package Tests
16+
runs-on: macos-latest
17+
18+
steps:
19+
- name: Check out repository
20+
uses: actions/checkout@v4
21+
22+
- name: Show Swift version
23+
run: swift --version
24+
25+
- name: Resolve dependencies
26+
run: swift package resolve
27+
28+
- name: Run tests
29+
run: swift test --parallel

0 commit comments

Comments
 (0)