-
Notifications
You must be signed in to change notification settings - Fork 1
61 lines (57 loc) · 1.6 KB
/
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
54
55
56
57
58
59
60
61
name: test
on:
push:
branches:
- master
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [x32, x64]
container: sublimetext/unittesting:${{ matrix.arch }}
env:
SUBLIME_TEXT_ARCH: ${{ matrix.arch }}
UNITTESTING_TAG: master
steps:
- uses: actions/checkout@v1
- name: Setup
run: |
sh -e /etc/init.d/xvfb start
curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.sh
- name: Run tests
run: |
PATH="$HOME/.local/bin:$PATH"
sh github.sh bootstrap
sh github.sh run_tests --coverage
macos:
runs-on: macOS-latest
env:
UNITTESTING_TAG: master
steps:
- uses: actions/checkout@v1
- name: Setup
run: curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.sh
- name: Run tests
run: |
export PATH="$HOME/.local/bin:$PATH"
sh github.sh bootstrap
sh github.sh run_tests --coverage
windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
arch: [x32, x64]
env:
SUBLIME_TEXT_ARCH: ${{ matrix.arch }}
UNITTESTING_TAG: master
steps:
- uses: actions/checkout@v1
- name: Setup
run: Invoke-WebRequest -Uri "https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.ps1" -OutFile "github.ps1"
- name: Run tests
run: |
./github.ps1 "bootstrap" -verbose
./github.ps1 "run_tests" -coverage -verbose