Skip to content

Refactor HTTP service to use enum for HTTP methods and switch feature flags to GET requests #493

Refactor HTTP service to use enum for HTTP methods and switch feature flags to GET requests

Refactor HTTP service to use enum for HTTP methods and switch feature flags to GET requests #493

Workflow file for this run

name: Mixpanel Android Pull Request and master branch CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout the code
uses: actions/[email protected]
- name: Run Unit test
uses: reactivecircus/[email protected]
with:
api-level: 34
profile: Nexus 5X
arch: x86_64
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: /Users/runner/work/mixpanel-android/mixpanel-android/build/reports/androidTests/connected
- name: Upload test coverage report
uses: actions/upload-artifact@v4
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@v4
with:
name: Lint Report
path: /Users/runner/work/mixpanel-android/mixpanel-android/build/reports/lint-results.html
- name: Android docs
run: ./gradlew --info androidJavadocs