Implement Black theme with black background #486
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: Android CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| if: "!contains(github.event.head_commit.message, 'skip ci')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: zulu | |
| java-version: 21 | |
| - run: ./gradlew lintDebug --stacktrace | |
| name: Lint | |
| - run: ./gradlew testDebugUnitTest --stacktrace | |
| name: Unit Tests | |
| - if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-report | |
| path: app/build/reports/tests/testDebugUnitTest/ | |
| - uses: EnricoMi/publish-unit-test-result-action@v2 | |
| with: | |
| files: app/build/test-results/testDebugUnitTest/*.xml | |
| - run: ./gradlew jacocoTestCoverageVerification --stacktrace | |
| name: Coverage | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact-reports | |
| path: app/build/reports | |
| - uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml | |
| - run: ./gradlew assembleDebug --stacktrace | |
| name: Build APK | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifact-apk | |
| path: app/build/outputs/apk/debug |