-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (53 loc) · 1.29 KB
/
ci.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
env:
REMOTE_CONTAINERS: "True"
strategy:
fail-fast: false
matrix:
variant: [devcontainer, wsl, gnome]
os: [ubuntu-20.04, ubuntu-22.04]
include:
# TODO: Add alpine and arch supports
# - variant: devcontainer
# os: alpine
- variant: devcontainer
os: debian
- os: macos-11
variant: darwin
- os: macos-12
variant: darwin
- os: macos-13
variant: darwin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
scripts/test.sh --variant "${{ matrix.variant }}" --os "${{ matrix.os }}"
record:
env:
REMOTE_CONTAINERS: "True"
strategy:
fail-fast: false
matrix:
variant: [tmux]
os: [macos-13]
# runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Record
shell: 'script -q -e -c "bash {0}"'
run: |
scripts/test.sh --variant "${{ matrix.variant }}" --os "${{ matrix.os }}"
ls
ls scripts/vhs
- uses: actions/upload-artifact@v3
with:
name: recording.yaml
path: /demo.yaml