-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) 路 893 Bytes
/
ci.yml
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
35
36
37
38
39
40
41
name: ci
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13, macos-12, macos-11]
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Test terminal app window properties
shell: bash
run: |
set -x
swift build
mkdir -p ~/output
cd .github/scripts
chmod 777 assert.sh
chmod 777 terminal-pdubs.sh
open -a Terminal "$GITHUB_WORKSPACE/.github/scripts/terminal-pdubs.sh"
./assert.sh
ls -la ~/output
cat ~/output/ci-results.json
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: output ${{ matrix.os }}
path: ~/output
if-no-files-found: error