-
Notifications
You must be signed in to change notification settings - Fork 913
37 lines (37 loc) · 1.01 KB
/
prototest.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
---
name: LN Proto Test
on:
push:
branches:
- "master"
pull_request:
jobs:
proto-test:
name: Protocol Test Config
runs-on: ubuntu-22.04
timeout-minutes: 120
strategy:
fail-fast: true
matrix:
include:
- {compiler: clang, db: sqlite3}
- {compiler: gcc, db: postgres}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and run
run: |
docker build -f contrib/docker/Dockerfile.ubuntu -t cln-ci-ubuntu .
docker run -e ARCH=${{ matrix.arch }} \
-e COMPILER=${{ matrix.compiler }} \
-e DB=${{ matrix.db }} \
-e NETWORK=${{ matrix.network }} \
-e TARGET_HOST=${{ matrix.TARGET_HOST }} \
-e VALGRIND=${{ matrix.valgrind }} \
-e PYTEST_PAR=2 \
-e PYTEST_OPTS="--timeout=300" \
-e TEST_CMD="make check-protos" \
-e TEST_GROUP=1 \
-e TEST_GROUP_COUNT=1 \
-e TIMEOUT=120 \
cln-ci-ubuntu