-
Notifications
You must be signed in to change notification settings - Fork 9
43 lines (34 loc) · 960 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
39
40
41
42
43
name: Build and Test MetaCall Builder
on:
push:
branches:
- master
tags:
- "v*.*.*"
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# TODO:
# - name: Lint
# run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.59.1 golangci-lint run -v --enable-all
- name: Build
run: docker compose build
- name: Test Binary
env:
BUILDER_ARGS: "runtime rb"
run: docker compose up --exit-code-from binary binary
# - name: Test Rootless
# run: ./test/test.sh rootless
# - name: Test Daemon
# run: ./test/test.sh client
- name: Test Startup-Rootless
run: ./test/test.sh rootless startup
- name: Test Startup-Daemon
run: ./test/test.sh client startup