Skip to content

Commit

Permalink
Update and rename startuptest.yml to startup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Nov 21, 2024
1 parent ed22851 commit 9656ee1
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/startuptest.yml → .github/workflows/startup.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build and Test MetaCall Builder for startup flow
# Seperate because the space is limited in the github actions
name: Build and Test MetaCall Builder for Startup

on:
push:
Expand All @@ -10,34 +9,36 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: Test Startup
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
uses: actions/checkout@v4
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
- name: Docker System Prune
run: docker system prune -af

- name: Test Startup-Rootless
- name: Test Startup Rootless
run: ./test/test.sh rootless startup

- name: Docker system prune after test
- name: Docker System Prune
run: docker system prune -af

- name: Test Startup-Daemon
- name: Test Startup Daemon
run: ./test/test.sh client startup

0 comments on commit 9656ee1

Please sign in to comment.