Fix future F-Droid builds (I think...) #67
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
| # T0 of the phyphox test strategy: JVM unit tests. The conformance corpus comes from the sibling | |
| # phyphox-docs checkout and is mandatory in CI; the tests skip it only on plain local clones. | |
| name: tests | |
| on: [push, pull_request] | |
| # A new push supersedes the previous run; not on master, whose runs are the record of a release. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| t0: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| path: phyphox-android | |
| submodules: recursive | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: phyphox/phyphox-docs | |
| path: phyphox-docs | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: gradle | |
| - name: Unit tests | |
| run: cd phyphox-android && ./gradlew testRegularDebugUnitTest |