forked from getodk/central
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 836 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
name: Tests
on:
push:
pull_request:
jobs:
test-envsubst:
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
submodules: recursive
- run: cd test/envsub && ./run-tests.sh
test-nginx:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: 22.12.0
- run: cd test/nginx && npm i
- run: cd test/nginx && ./run-tests.sh
- if: always()
run: docker logs test-nginx-1 || true
- if: always()
run: docker logs test-service-1 || true
- if: always()
run: docker logs test-enketo-1 || true