Add support to get all feature flag assignments #584
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: Mixpanel Android Pull Request and master branch CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v4 | |
| - name: Enable KVM | |
| run: | | |
| echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
| sudo udevadm control --reload-rules | |
| sudo udevadm trigger --name-match=kvm | |
| - name: Run Unit test | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: 34 | |
| arch: x86_64 | |
| emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim | |
| script: ./gradlew createDebugCoverageReport | |
| - name: Lint | |
| run: ./gradlew lint | |
| - name: Upload test report | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: Unit Test Report | |
| path: build/reports/androidTests/connected | |
| - name: Upload test coverage report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Test Coverage Report | |
| path: build/reports/coverage/debug/ | |
| - name: Upload lint report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Lint Report | |
| path: build/reports/lint-results.html | |
| - name: Android docs | |
| run: ./gradlew --info androidJavadocs | |