mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 19:16:26 +02:00
- 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
33 lines
697 B
YAML
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
|