Skip to content

Commit 2984df4

Browse files
committed
Generate plugin repo YAML in CI
1 parent fc8843e commit 2984df4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build-and-snapshot.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ jobs:
2525
with:
2626
python-version: "3.11"
2727

28+
- name: Check if Python tests exist
29+
id: check-tests
30+
run: |
31+
if [ -f "test/requirements.txt" ] && [ -f "test/test.sh" ]; then
32+
echo "tests_exist=true" >> $GITHUB_OUTPUT
33+
echo "✅ Python test suite found"
34+
else
35+
echo "tests_exist=false" >> $GITHUB_OUTPUT
36+
echo "⚠️ Python test suite not found - skipping tests"
37+
fi
2838
2939
- name: Setup Python test environment
3040
if: steps.check-tests.outputs.tests_exist == 'true'
@@ -36,6 +46,7 @@ jobs:
3646
python -m pip install -r requirements.txt
3747
3848
- name: Run Python linting
49+
if: steps.check-tests.outputs.tests_exist == 'true'
3950
run: |
4051
cd test
4152
source venv/bin/activate
@@ -142,7 +153,7 @@ jobs:
142153
Please test it and provide feedback.
143154
144155
## Build Status
145-
- ✅ Go Plugin: Built and tested on Linux, macOS, and Windows
156+
- ✅ Go Plugin: Built on Linux, macOS, and Windows
146157
- ✅ Python Tests: Linting and test suite validation completed
147158
- ✅ Plugin Repository: YAML entry generated automatically
148159

0 commit comments

Comments
 (0)