add silent and machine readable formats to testing tool
Some checks failed
Some checks failed
This commit is contained in:
@@ -84,7 +84,16 @@ jobs:
|
||||
id: format
|
||||
run: |
|
||||
echo "🎨 Running GDScript formatting..."
|
||||
python tools/run_development.py --format
|
||||
python tools/run_development.py --format --silent --yaml > format_results.yaml
|
||||
|
||||
- name: Upload formatting results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: format-results
|
||||
path: |
|
||||
format_results.yaml
|
||||
retention-days: 7
|
||||
|
||||
- name: Check for formatting changes
|
||||
id: check-changes
|
||||
@@ -156,15 +165,15 @@ jobs:
|
||||
id: lint
|
||||
run: |
|
||||
echo "🔍 Running GDScript linting..."
|
||||
python tools/run_development.py --lint
|
||||
python tools/run_development.py --lint --silent --yaml > lint_results.yaml
|
||||
|
||||
- name: Upload linting results
|
||||
if: failure()
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: lint-results
|
||||
path: |
|
||||
**/*.gd
|
||||
lint_results.yaml
|
||||
retention-days: 7
|
||||
|
||||
test:
|
||||
@@ -201,15 +210,15 @@ jobs:
|
||||
id: test
|
||||
run: |
|
||||
echo "🧪 Running GDScript tests..."
|
||||
python tools/run_development.py --test
|
||||
python tools/run_development.py --test --silent --yaml > test_results.yaml
|
||||
|
||||
- name: Upload test results
|
||||
if: failure()
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-results
|
||||
path: |
|
||||
tests/**/*.gd
|
||||
test_results.yaml
|
||||
retention-days: 7
|
||||
|
||||
summary:
|
||||
|
||||
Reference in New Issue
Block a user