Adds tests to github actions and a build badge.

This commit is contained in:
2026-09-28 00:21:01 -07:00
parent f19b1fc8cb
commit e0071ee713
2 changed files with 16 additions and 0 deletions

View File

@@ -27,6 +27,20 @@ jobs:
gradle-version: '9.8.0'
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
- name: Run Unit Tests
run: ./gradlew test
- name: Upload Test Report
if: always()
uses: actions/upload-artifact@v7
with:
name: Metropolis-test-report
path: |
build/reports/tests/test
build/test-results/test
if-no-files-found: ignore
retention-days: 14
- name: Build with Gradle Wrapper
run: ./tools/build-plugin.sh