You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/07/28 11:39:17 UTC

[camel-quarkus] 02/02: Filter comments from test-categories.yaml

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 4ddb6dc7ee00ff9d21d899176d5facd3559829d8
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Jul 28 08:04:25 2023 +0100

    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 e0954b14bb..b9345da400 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 9c5e15133a..143f69b9c9 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 784507d477..3a465f8762 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