From 32a24039c7bb0e9fc4297e1578b467dd662c29b2 Mon Sep 17 00:00:00 2001 From: Netpicker <156186606+netpicker@users.noreply.github.com> Date: Wed, 11 Jun 2025 17:03:45 +0200 Subject: [PATCH 1/3] testing commit for valid policy/rule collection --- .github/workflows/rule-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rule-test.yml b/.github/workflows/rule-test.yml index 4d1f3ecb..46df3550 100644 --- a/.github/workflows/rule-test.yml +++ b/.github/workflows/rule-test.yml @@ -10,5 +10,7 @@ jobs: options: --cpus 1 steps: - uses: actions/checkout@v3 + - name: Check rule collector + run: collect-rules -p comfy.plugin -p asyncio -o asyncio_mode=auto -vvv --co --rootdir $PWD $PWD - name: Run yaml tests run: test-rules -p runner.yaml_rules -vvvl --rootdir $PWD $PWD From 6015a8304367c5904ac3510811c8744f476b3845 Mon Sep 17 00:00:00 2001 From: Netpicker <156186606+netpicker@users.noreply.github.com> Date: Wed, 11 Jun 2025 19:34:42 +0200 Subject: [PATCH 2/3] Create validate-collector.yml --- .github/workflows/validate-collector.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/validate-collector.yml diff --git a/.github/workflows/validate-collector.yml b/.github/workflows/validate-collector.yml new file mode 100644 index 00000000..4fc465a9 --- /dev/null +++ b/.github/workflows/validate-collector.yml @@ -0,0 +1,16 @@ +name: CI +on: + push: + +jobs: + container-test-job: + runs-on: ubuntu-latest + container: + image: netpicker/api + options: --cpus 1 + steps: + - uses: actions/checkout@v3 + - name: Run yaml tests + env: + JWT_SECRET: xxx + run: collect-rules -p comfy.plugin --co -vvv --rootdir $PWD $PWD From 5a01b871acfc258a728d026d362b5eaab8a3c45d Mon Sep 17 00:00:00 2001 From: Netpicker <156186606+netpicker@users.noreply.github.com> Date: Thu, 12 Jun 2025 07:38:32 +0200 Subject: [PATCH 3/3] unify ci validation --- .github/workflows/validate-collector.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/validate-collector.yml diff --git a/.github/workflows/validate-collector.yml b/.github/workflows/validate-collector.yml deleted file mode 100644 index 4fc465a9..00000000 --- a/.github/workflows/validate-collector.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CI -on: - push: - -jobs: - container-test-job: - runs-on: ubuntu-latest - container: - image: netpicker/api - options: --cpus 1 - steps: - - uses: actions/checkout@v3 - - name: Run yaml tests - env: - JWT_SECRET: xxx - run: collect-rules -p comfy.plugin --co -vvv --rootdir $PWD $PWD