mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 18:05:09 +00:00
34 lines
765 B
YAML
34 lines
765 B
YAML
name: Build & Test Infinito.Nexus CLI in Docker Container
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test-code:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Docker image
|
|
run: |
|
|
docker build --network=host -t infinito:latest .
|
|
|
|
- name: Clean build artifacts
|
|
run: |
|
|
docker run --network=host --rm infinito:latest infinito make clean
|
|
|
|
- name: Generate project outputs
|
|
run: |
|
|
docker run --network=host --rm infinito:latest infinito make build
|
|
|
|
- name: Run tests
|
|
run: |
|
|
docker run --network=host --rm infinito:latest infinito make test
|