From 4ddb6dc7ee00ff9d21d899176d5facd3559829d8 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Fri, 28 Jul 2023 08:04:25 +0100 Subject: [PATCH] Filter comments from test-categories.yaml --- .github/workflows/camel-master-cron.yaml | 2 +- .github/workflows/ci-build.yaml | 2 +- .github/workflows/quarkus-master-cron.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml index e0954b14bb13..b9345da40010 100644 --- a/.github/workflows/camel-master-cron.yaml +++ b/.github/workflows/camel-master-cron.yaml @@ -143,7 +143,7 @@ jobs: java-version: '17' - name: Integration Tests run: | - for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | cut -f2 -d' '); do + for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | grep -vE '^\s*#' | cut -f2 -d' '); do if [[ "${MODULE}" == "null" ]]; then continue fi diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 9c5e15133abc..143f69b9c9cc 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -219,7 +219,7 @@ jobs: df -h / - name: Integration Tests run: | - for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | cut -f2 -d' '); do + for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | grep -vE '^\s*#' | cut -f2 -d' '); do if [[ "${MODULE}" == "null" ]]; then continue fi diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml index 784507d47764..3a465f87626e 100644 --- a/.github/workflows/quarkus-master-cron.yaml +++ b/.github/workflows/quarkus-master-cron.yaml @@ -143,7 +143,7 @@ jobs: java-version: '17' - name: Integration Tests run: | - for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | cut -f2 -d' '); do + for MODULE in $(yq -M -N e ".${{ matrix.category }}" tooling/scripts/test-categories.yaml | grep -vE '^\s*#' | cut -f2 -d' '); do if [[ "${MODULE}" == "null" ]]; then continue fi