Ignored LID Switch Driver

This commit is contained in:
2025-12-03 19:43:29 +01:00
parent b914fb9789
commit 9182d14175
2 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- main
pull_request:
jobs:
@@ -11,6 +12,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 240
env:
# The following roles will be ignored in the tests
EXCLUDED_ROLES: >
drv-lid-switch
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -31,6 +37,7 @@ jobs:
# Create inventory (also creates inventories/github-ci/.password if missing)
infinito create inventory inventories/github-ci \
--host localhost \
--exclude "$EXCLUDED_ROLES" \
--ssl-disabled
INVENTORY_PATH="inventories/github-ci/servers.yml"
@@ -52,6 +59,7 @@ jobs:
# Rebuild inventory; .password will be reused if present
infinito create inventory inventories/github-ci \
--host localhost \
--exclude "$EXCLUDED_ROLES" \
--ssl-disabled
INVENTORY_PATH="inventories/github-ci/servers.yml"
@@ -71,6 +79,7 @@ jobs:
infinito create inventory inventories/github-ci \
--host localhost \
--exclude "$EXCLUDED_ROLES" \
--ssl-disabled
INVENTORY_PATH="inventories/github-ci/servers.yml"