-
Notifications
You must be signed in to change notification settings - Fork 5
102 lines (92 loc) · 2.42 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Tests
on: [push, pull_request]
jobs:
no_defpkg_stable:
name: Without default packages, latest stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
build: stable
package_root: test/no_defpkg
# TODO indentation tests
# TODO reference & definition tests
defpkg_stable:
name: With default packages, latest stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
build: stable
default_packages: master
package_root: test/defpkg
no_defpkg_old_build:
name: Without default packages, build 4073
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
build: 4073
package_root: test/no_defpkg
no_defpkg_old_runtime:
name: Without default packages, latest build, ubuntu-20.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ./
with:
build: latest
package_root: test/no_defpkg
third-party_stable:
name: Third-party, latest stable
runs-on: ubuntu-latest
steps:
- name: Checkout repo (primary package)
uses: actions/checkout@v4
- name: Checkout INI package (dependency)
uses: actions/checkout@v4
with:
repository: jwortmann/ini-syntax
ref: v1.5.0
path: third-party/INI
- uses: ./
with:
build: stable
package_root: test/third-party
additional_packages: third-party/INI
dummy_syntax_stable:
name: Dummy Syntax, latest stable
runs-on: ubuntu-latest
steps:
- name: Checkout repo (primary package)
uses: actions/checkout@v4
- uses: ./
with:
build: stable
package_root: test/dummy-syntax
dummy_syntaxes: text.dummy
st3:
name: ST3 build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
build: 3210
default_packages: v3189
package_root: test/st3
# This is expected to error and used to test the error wrapper
st3_error:
name: Error on purpose
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
continue-on-error: true
with:
build: 4189
default_packages: master
package_root: test/st3