mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 12:17:13 +00:00
# Conflicts: # .github/workflows/call-images-build-ci.yml # .github/workflows/call-test-deploy.yml # .github/workflows/call-test-install-pkgmgr.yml # .github/workflows/call-test-workspace.yml # roles/svc-bkp-local-2-device/README.md # roles/svc-storage-nfs-client/README.md # roles/web-app-pixelfed/meta/services.yml # scripts/tests/deploy/act/workflow.sh # tests/unit/python/utils/recovery/test_base.py
33 lines
876 B
YAML
33 lines
876 B
YAML
name: "📦 Test: Install"
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
jobs:
|
|
test-install:
|
|
name: 🛠️ Makefile
|
|
runs-on: ubuntu-26.04
|
|
timeout-minutes: 30
|
|
env:
|
|
NIX_CONFIG: |
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
steps:
|
|
- name: ⬇️ Checkout repository
|
|
uses: actions/checkout@v7.0.0
|
|
|
|
- name: 🔍 Resolve paths from default.env
|
|
run: |
|
|
for key in INFINITO_SRC_DIR INFINITO_VENV_DIR; do
|
|
value="$(awk -F= -v k="^${key}=" '$0 ~ k {print $2; exit}' default.env)"
|
|
test -n "${value}" || { echo "${key} not found in default.env" >&2; exit 1; }
|
|
echo "${key}=${value}" >> "$GITHUB_ENV"
|
|
done
|
|
|
|
- name: 📦 Install & test in every distribution base container (parallel)
|
|
run: ./scripts/tests/install/make.sh
|