-
-
Notifications
You must be signed in to change notification settings - Fork 635
29 lines (23 loc) · 701 Bytes
/
Copy pathtest_macOS.yml
File metadata and controls
29 lines (23 loc) · 701 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
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: test macOS
on:
workflow_call:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_type != 'tag' }}
jobs:
macos_build:
runs-on: macos-14
steps:
- name: Set Xcode 15.3.0
run: sudo xcode-select -s /Applications/Xcode_15.3.0.app/Contents/Developer
- name: Print Current Xcode
run: xcode-select -p
- uses: actions/checkout@v3
- name: Run tests
run: swift test