Move httpResponseSubscriber invocation to after handling response #173
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: CI Test Workflow | |
on: | |
push: | |
branches: [ main, dev, dev/** ] | |
pull_request: | |
branches: [ main, dev, dev/** ] | |
jobs: | |
test_android_jvm_linux_trusted: | |
runs-on: ubuntu-latest | |
environment: testing | |
env: | |
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }} | |
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }} | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v2 | |
- name: Install java 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Install curl | |
run: sudo apt-get install -y curl libcurl4-openssl-dev | |
- name: Test android | |
run: ./gradlew testDebugUnitTest | |
- name: Test jvm | |
run: ./gradlew jvmTest | |
- name: Archive test results | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: code-coverage-report | |
path: build/reports |