GIT: workflows - cleanup and manual test runs

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2026-01-28 22:41:08 +11:00
parent 1ed9082123
commit b4348c18b6
7 changed files with 17 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
name: Code checks name: Code checks
on: on:
push: push:
branches: branches:

View File

@@ -1,4 +1,4 @@
name: docker name: 🐳 👩‍💻 docker dev
on: on:
push: push:

View File

@@ -1,4 +1,4 @@
name: docker-unsafe from next_release branch name: 🐳 ⚠ docker-unsafe from next_release branch
on: on:
push: push:

View File

@@ -6,7 +6,7 @@
# GitHub recommends pinning actions to a commit SHA. # GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA. # To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning. # You can also reference a tag or branch, but the action may change without warning.
name: Publish Docker image name: 🐳 📦 Publish Docker image
on: on:
release: release:

View File

@@ -1,4 +1,4 @@
name: Label Issues by Installation Type name: 🏷 Label Issues by Installation Type
on: on:
issues: issues:

View File

@@ -1,4 +1,4 @@
name: Deploy MkDocs name: 📘 Deploy MkDocs
on: on:
push: push:

View File

@@ -1,4 +1,4 @@
name: Manual Test Suite Selector name: 🧪 Manual Test Suite Selector
on: on:
workflow_dispatch: workflow_dispatch:
@@ -42,20 +42,20 @@ jobs:
id: builder id: builder
run: | run: |
PATHS="" PATHS=""
# Folder Mapping # Folder Mapping with 'test/' prefix
if [ "${{ github.event.inputs.run_authoritative }}" == "true" ]; then PATHS="$PATHS authoritative_fields/"; fi if [ "${{ github.event.inputs.run_authoritative }}" == "true" ]; then PATHS="$PATHS test/authoritative_fields/"; fi
if [ "${{ github.event.inputs.run_api }}" == "true" ]; then PATHS="$PATHS api_endpoints/ server/"; fi if [ "${{ github.event.inputs.run_api }}" == "true" ]; then PATHS="$PATHS test/api_endpoints/ test/server/"; fi
if [ "${{ github.event.inputs.run_backend }}" == "true" ]; then PATHS="$PATHS backend/"; fi if [ "${{ github.event.inputs.run_backend }}" == "true" ]; then PATHS="$PATHS test/backend/"; fi
if [ "${{ github.event.inputs.run_docker_env }}" == "true" ]; then PATHS="$PATHS docker_tests/"; fi if [ "${{ github.event.inputs.run_docker_env }}" == "true" ]; then PATHS="$PATHS test/docker_tests/"; fi
if [ "${{ github.event.inputs.run_ui }}" == "true" ]; then PATHS="$PATHS ui/"; fi if [ "${{ github.event.inputs.run_ui }}" == "true" ]; then PATHS="$PATHS test/ui/"; fi
# Root Files Mapping (Selects test_*.py directly in /test/) # Root Files Mapping (files sitting directly in /test/)
if [ "${{ github.event.inputs.run_root_files }}" == "true" ]; then if [ "${{ github.event.inputs.run_root_files }}" == "true" ]; then
PATHS="$PATHS test_device_atomicity.py test_mcp_disablement.py test_plugin_helper.py test_wol_validation.py" PATHS="$PATHS test/test_device_atomicity.py test/test_mcp_disablement.py test/test_plugin_helper.py test/test_wol_validation.py"
fi fi
# Default to root if somehow nothing is selected # If nothing is selected, default to the whole test folder
if [ -z "$PATHS" ]; then PATHS="."; fi if [ -z "$PATHS" ]; then PATHS="test/"; fi
echo "final_paths=$PATHS" >> $GITHUB_OUTPUT echo "final_paths=$PATHS" >> $GITHUB_OUTPUT