mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 09:56:41 +00:00
This change updates test-cli.yml to use --network=host for docker build and docker run steps. This significantly reduces intermittent Arch mirror timeouts observed in local and CI environments. Reference: https://chatgpt.com/share/692f1bd7-f144-800f-b2ac-900d78a69e9d
33 lines
756 B
YAML
33 lines
756 B
YAML
name: Build & Test Infinito.Nexus CLI in Docker Container
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
execute-tests:
|
|
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
|