File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : CI Client Test Workflow
2
+ on :
3
+ workflow_dispatch :
4
+ inputs :
5
+ spotify_test_client_token :
6
+ description : ' Spotify client redirect token (for client tests before release)'
7
+ required : true
8
+ spotify_test_redirect_uri :
9
+ description : ' Spotify redirect uri'
10
+ required : true
11
+ env :
12
+ SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
13
+ SPOTIFY_CLIENT_SECRET : ${{ secrets.SPOTIFY_CLIENT_SECRET }}
14
+ SPOTIFY_TOKEN_STRING : ${{ github.event.inputs.spotify_test_client_token }}
15
+ SPOTIFY_REDIRECT_URI : ${{ github.event.inputs.spotify_test_redirect_uri }}
16
+ jobs :
17
+ verify_client_android_jvm_linux_js :
18
+ runs-on : ubuntu-latest
19
+ environment : release
20
+ steps :
21
+ - name : Check out repo
22
+ uses : actions/checkout@v2
23
+ - name : Install java 11
24
+ uses : actions/setup-java@v2
25
+ with :
26
+ distribution : ' adopt'
27
+ java-version : ' 11'
28
+ - name : Install curl
29
+ run : sudo apt-get install -y curl libcurl4-openssl-dev
30
+ - name : Verify Android
31
+ run : ./gradlew testDebugUnitTest
32
+ - name : Verify JVM/JS
33
+ run : ./gradlew jvmTest
34
+ - name : Archive test results
35
+ uses : actions/upload-artifact@v2
36
+ with :
37
+ name : code-coverage-report
38
+ path : build/reports
39
+ if : always()
Original file line number Diff line number Diff line change 1
- # This workflow will build a Java project with Gradle
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
-
4
1
name : CI Test Workflow
5
2
6
3
on :
You can’t perform that action at this time.
0 commit comments