diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 201d1f5..52b4206 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,31 +16,21 @@ jobs: features: ${{ steps.filter.outputs.changes }} steps: - uses: actions/checkout@v4 + + - id: autogenerate-filter + run: | + echo "filter<> "$GITHUB_OUTPUT" + + find src -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | xargs -I %s -- echo '%s: + - src/%s/** + - test/%s/**' >> "$GITHUB_OUTPUT" + + echo "EOF" >> "$GITHUB_OUTPUT" + - uses: dorny/paths-filter@v3 id: filter with: - filters: | - android-sdk: - - src/android-sdk/** - - test/android-sdk/** - burp-suite: - - src/burp-suite/** - - test/burp-suite/** - coder: - - src/coder/** - - test/coder/** - cutter: - - src/cutter/** - - test/cutter/** - ghidra: - - src/ghidra/** - - test/ghidra/** - lib-common: - - src/lib-common/** - - test/lib-common/** - lib-github: - - src/lib-github/** - - test/lib-github/** + filters: ${{ steps.autogenerate-filter.outputs.filter }} test-autogenerated: needs: changes diff --git a/src/android-sdk/citest b/src/android-sdk/citest new file mode 100644 index 0000000..e69de29 diff --git a/test/coder/citest b/test/coder/citest new file mode 100644 index 0000000..e69de29