Files
computer-playbook/.github/workflows/test-code.yml
Kevin Veen-Birkenbach a31ef07718 Refactor CI workflows and fix timezone handling in containers
- Renamed test-cli.yml to test-code.yml and updated job name.
- Extended timeout for test-deploy workflow from 30 to 240 minutes.
- Skipped Ansible timezone configuration inside Docker/Podman/containerd to avoid write errors in CI.
- Added --skip-tests to the initial deploy step for improved CI stability.

Origin: https://chatgpt.com/share/69301c58-6628-800f-9e3a-f026c01b6e17
2025-12-03 12:17:59 +01:00

33 lines
752 B
YAML

name: Build & Test Infinito.Nexus CLI in Docker Container
on:
push:
branches:
- master
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