-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (39 loc) · 1.26 KB
/
ci-client.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI Client Test Workflow
on:
workflow_dispatch:
inputs:
spotify_test_client_token:
description: 'Spotify client redirect token (for client tests before release)'
required: true
spotify_test_redirect_uri:
description: 'Spotify redirect uri'
required: true
env:
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
SPOTIFY_TOKEN_STRING: ${{ github.event.inputs.spotify_test_client_token }}
SPOTIFY_REDIRECT_URI: ${{ github.event.inputs.spotify_test_redirect_uri }}
jobs:
verify_client_android_jvm_linux_js:
runs-on: ubuntu-latest
environment: release
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: Verify Android
run: ./gradlew testDebugUnitTest
- name: Verify JVM/JS
run: ./gradlew jvmTest
- name: Archive test results
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: build/reports
if: always()