Update test.yml #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Build | |
run: docker compose build | |
# TODO: Implement test for all languages with BUILDER_ARGS | |
- name: Test Binary | |
env: | |
BUILDER_ARGS: dev py | |
run: docker compose up --exit-code-from binary binary | |
# TODO: Implement test for all languages with BUILDER_ARGS | |
- name: Test Rootless | |
env: | |
BUILDER_ARGS: dev py | |
run: docker compose up --exit-code-from rootless rootless | |
# TODO: Implement test for all languages with BUILDER_ARGS | |
- name: Test Daemon | |
env: | |
BUILDER_ARGS: dev py | |
run: docker compose up --exit-code-from client client |