-
Notifications
You must be signed in to change notification settings - Fork 34
53 lines (43 loc) · 986 Bytes
/
test.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
42
43
44
45
46
47
48
49
50
51
52
53
# Test
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linuxTest:
name: Test on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run testing script
run: ./testing.sh
macOsTest:
name: Test on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Run testing script on macOS
run: ./testing.sh
FreeBSDTest:
name: Test on FreeBSD
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y bash
run: |
./testing.sh