Proper Desktop support #678
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
| GOOGLE_SERVER_CLIENT_ID: ${{ secrets.GOOGLE_SERVER_CLIENT_ID }} | |
| SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }} | |
| SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: JDK setup | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: 20 | |
| distribution: corretto | |
| cache: gradle | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@v2 | |
| # Execute unit tests | |
| - name: Unit Test | |
| run: ./gradlew testDebugUnitTest |