fix(ci): reduce apt-get noise/fragility and allow per-job dispatch #112

Merged
rootiest merged 3 commits from ci-robustness-and-dispatch into main 2026-08-21 05:10:02 +00:00
Showing only changes of commit c47b51cd6e - Show all commits
+16
View File
@@ -17,9 +17,20 @@ on:
- "integrations/**" - "integrations/**"
- "tests/**" - "tests/**"
workflow_dispatch: workflow_dispatch:
inputs:
job:
description: "Job to run"
required: false
default: all
type: choice
options:
- all
- test
- build-docs
jobs: jobs:
test: test:
if: github.event_name != 'workflow_dispatch' || github.event.inputs.job == 'all' || github.event.inputs.job == 'test'
runs-on: racknerd-mini runs-on: racknerd-mini
steps: steps:
- name: Checkout - name: Checkout
@@ -40,6 +51,11 @@ jobs:
build-docs: build-docs:
needs: test needs: test
if: |
always() &&
(github.event.inputs.job == 'build-docs' ||
((github.event_name != 'workflow_dispatch' || github.event.inputs.job == 'all') &&
needs.test.result == 'success'))
runs-on: racknerd-mini runs-on: racknerd-mini
steps: steps:
- name: Checkout - name: Checkout