-
-
Notifications
You must be signed in to change notification settings - Fork 12
34 lines (30 loc) · 605 Bytes
/
Copy pathtests.yml
File metadata and controls
34 lines (30 loc) · 605 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Tests
on:
push:
branches:
- main
- master
- develop
paths-ignore:
- '**.md'
- 'LICENSE'
- '**/*.gitignore'
- '**/*.eslintrc.json'
- '**/*.dockerignore'
# - '.github/**'
workflow_dispatch:
env:
BUILD_BRANCH: ${{ github.ref_name }}
GIT_TERMINAL_PROMPT: 1
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@main
with:
swift-version: "6"
- name: Build
run: swift build
- name: Run tests
run: swift test