Files
computer-playbook/.github/workflows/test-cli.yml
Kevin Veen-Birkenbach c424afa935 Fix CLI workflow and container startup
- Updated GitHub Actions workflow to call `infinito make ...` inside container
- Simplified Dockerfile CMD to run `infinito --help` and keep container alive
- Adjusted docker-compose.yml to use explicit image name

See: https://chatgpt.com/share/68cde606-c3f8-800f-8ac5-fc035386da87
2025-09-20 01:24:20 +02:00

33 lines
697 B
YAML

name: Build & Test Infinito.Nexus CLI in Docker Container
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Docker image
run: |
docker build -t infinito:latest .
- name: Clean build artifacts
run: |
docker run --rm infinito:latest infinito make clean
- name: Generate project outputs
run: |
docker run --rm infinito:latest infinito make build
- name: Run tests
run: |
docker run --rm infinito:latest infinito make test