We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88e39a7 commit 4e6554dCopy full SHA for 4e6554d
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: Tests
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - 'Sources/**'
9
+ - 'Package.swift'
10
+ - '.github/workflows/test.yml'
11
+ push:
12
13
14
15
16
17
18
19
+jobs:
20
+ build-and-test:
21
+ runs-on: macos-latest
22
+ steps:
23
+ - name: Checkout code
24
+ uses: actions/checkout@v4
25
26
+ - name: Set up Swift
27
+ uses: swift-actions/setup-swift@v2
28
+ with:
29
+ swift-version: '6.0'
30
31
+ - name: Build
32
+ run: swift build --build-tests
33
34
+ - name: Run tests
35
+ run: swift test
0 commit comments