The data lock is fair, so a reader is not starved by the analysis. #25
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, including the conformance corpus from the | |
| # public phyphox-docs repository, which is checked out as a sibling of this repository - the | |
| # same layout the corpus lookup in app/src/test expects on a development machine. If that | |
| # checkout fails, the run fails: in CI the corpus is mandatory, the skip-with-notice path in | |
| # the tests exists for plain local clones without the sibling. | |
| name: tests | |
| on: [push, pull_request] | |
| 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 |