-
Notifications
You must be signed in to change notification settings - Fork 9
43 lines (34 loc) · 992 Bytes
/
startuptest.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 for startup flow
# Seperate because the space is limited in the github actions
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
- name: Build
run: docker compose build
- name: Docker system prune after build
run: docker system prune -af
- name: Test Binary
env:
BUILDER_ARGS: "runtime rb"
run: docker compose up --exit-code-from binary binary
- name: Docker system prune after test
run: docker system prune -af
- name: Test Startup-Rootless
run: ./test/test.sh rootless startup
- name: Docker system prune after test
run: docker system prune -af
- name: Test Startup-Daemon
run: ./test/test.sh client startup