mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-01-29 17:11:15 -05:00
GIT: workflows - cleanup and manual test runs
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
2
.github/workflows/code-checks.yml
vendored
2
.github/workflows/code-checks.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Code checks
|
||||
name: ✅ Code checks
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
2
.github/workflows/docker_dev.yml
vendored
2
.github/workflows/docker_dev.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: docker
|
||||
name: 🐳 👩💻 docker dev
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/docker_dev_unsafe.yml
vendored
2
.github/workflows/docker_dev_unsafe.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: docker-unsafe from next_release branch
|
||||
name: 🐳 ⚠ docker-unsafe from next_release branch
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/docker_prod.yml
vendored
2
.github/workflows/docker_prod.yml
vendored
@@ -6,7 +6,7 @@
|
||||
# GitHub recommends pinning actions to a commit 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.
|
||||
name: Publish Docker image
|
||||
name: 🐳 📦 Publish Docker image
|
||||
|
||||
on:
|
||||
release:
|
||||
|
||||
2
.github/workflows/label-issues.yml
vendored
2
.github/workflows/label-issues.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Label Issues by Installation Type
|
||||
name: 🏷 Label Issues by Installation Type
|
||||
|
||||
on:
|
||||
issues:
|
||||
|
||||
2
.github/workflows/mkdocs.yml
vendored
2
.github/workflows/mkdocs.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Deploy MkDocs
|
||||
name: 📘 Deploy MkDocs
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
22
.github/workflows/run-all-tests.yml
vendored
22
.github/workflows/run-all-tests.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Manual Test Suite Selector
|
||||
name: 🧪 Manual Test Suite Selector
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -42,20 +42,20 @@ jobs:
|
||||
id: builder
|
||||
run: |
|
||||
PATHS=""
|
||||
# Folder Mapping
|
||||
if [ "${{ github.event.inputs.run_authoritative }}" == "true" ]; then PATHS="$PATHS authoritative_fields/"; fi
|
||||
if [ "${{ github.event.inputs.run_api }}" == "true" ]; then PATHS="$PATHS api_endpoints/ server/"; fi
|
||||
if [ "${{ github.event.inputs.run_backend }}" == "true" ]; then PATHS="$PATHS backend/"; fi
|
||||
if [ "${{ github.event.inputs.run_docker_env }}" == "true" ]; then PATHS="$PATHS docker_tests/"; fi
|
||||
if [ "${{ github.event.inputs.run_ui }}" == "true" ]; then PATHS="$PATHS ui/"; fi
|
||||
# Folder Mapping with 'test/' prefix
|
||||
if [ "${{ github.event.inputs.run_authoritative }}" == "true" ]; then PATHS="$PATHS test/authoritative_fields/"; 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 test/backend/"; 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 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
|
||||
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
|
||||
|
||||
# Default to root if somehow nothing is selected
|
||||
if [ -z "$PATHS" ]; then PATHS="."; fi
|
||||
# If nothing is selected, default to the whole test folder
|
||||
if [ -z "$PATHS" ]; then PATHS="test/"; fi
|
||||
|
||||
echo "final_paths=$PATHS" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user