Merge pull request #819 from argenisf/fix-integration-event-sending-w… #288
This file contains 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, 6.0.0.beta ] | |
pull_request: | |
branches: [ master, 6.0.0.beta ] | |
jobs: | |
build: | |
runs-on: macos-11 | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Run Unit test | |
uses: reactivecircus/[email protected] | |
with: | |
api-level: 30 | |
profile: Nexus 6 | |
arch: x86_64 | |
script: ./gradlew createDebugCoverageReport | |
- name: Lint | |
run: ./gradlew lint | |
- name: Upload test report | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: Unit Test Report | |
path: /Users/runner/work/mixpanel-android/mixpanel-android/build/reports/androidTests/connected | |
- name: Upload test coverage report | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Test Coverage Report | |
path: /Users/runner/work/mixpanel-android/mixpanel-android/build/reports/coverage/debug/ | |
- name: Upload lint report | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Lint Report | |
path: /Users/runner/work/mixpanel-android/mixpanel-android/build/reports/lint-results.html | |
- name: Android docs | |
run: ./gradlew --info androidJavadocs | |