forked from hudlow/query-parse-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
164 lines (163 loc) · 3.93 KB
/
run.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
name: run-query-parse-test-suite
run-name: Running test suite
on: [push]
permissions:
contents: write
jobs:
dotnet-minimal:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/dotnet-minimal
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: dotnet-minimal-results
path: results.json
go-vanilla:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/go-vanilla
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.19.3'
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: go-vanilla-results
path: results.json
java-spring:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/java-spring
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- run: ./setup
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: java-spring-results
path: results.json
node-express:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/node-express
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: ./setup
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: node-express-results
path: results.json
php-vanilla:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/php-vanilla
steps:
- uses: actions/checkout@v3
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: php-vanilla-results
path: results.json
python-django:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/python-django
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: ./setup
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: python-django-results
path: results.json
ruby-on-rails:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/ruby-on-rails
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1.152.0
with:
ruby-version: '3.1.2'
- run: ./setup
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: ruby-on-rails-results
path: results.json
whatwg-url:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frameworks/whatwg-url
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: ./serve
- working-directory: .
run: ./bin/run > results.json
- uses: actions/upload-artifact@v3
with:
name: whatwg-url-results
path: results.json
publish:
runs-on: ubuntu-latest
needs:
- dotnet-minimal
- go-vanilla
- java-spring
- node-express
- php-vanilla
- python-django
- ruby-on-rails
- whatwg-url
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- run: ./bin/render
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.2
with:
folder: publish