File tree Expand file tree Collapse file tree 1 file changed +35
-5
lines changed Expand file tree Collapse file tree 1 file changed +35
-5
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a Java project with Gradle
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
3
4
- name : Project CI
4
+ name : CI Test Workflow
5
5
6
6
on :
7
7
push :
@@ -46,16 +46,46 @@ jobs:
46
46
uses : actions/checkout@v2
47
47
- name : Test mac
48
48
run : gradle macosX64Test
49
- - name : Test ios
50
- run : gradle iosX64Test
51
- - name : Test tvos
52
- run : gradle tvosX64Test
53
49
- name : Archive test results
54
50
uses : actions/upload-artifact@v2
55
51
with :
56
52
name : code-coverage-report
57
53
path : build/reports
58
54
if : always()
55
+ test_ios :
56
+ runs-on : macos-latest
57
+ environment : testing
58
+ env :
59
+ SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
60
+ SPOTIFY_CLIENT_SECRET : ${{ secrets.SPOTIFY_CLIENT_SECRET }}
61
+ steps :
62
+ - name : Check out repo
63
+ uses : actions/checkout@v2
64
+ - name : Test ios
65
+ run : gradle iosX64Test
66
+ - name : Archive test results
67
+ uses : actions/upload-artifact@v2
68
+ with :
69
+ name : code-coverage-report
70
+ path : build/reports
71
+ if : always()
72
+ test_tvos :
73
+ runs-on : macos-latest
74
+ environment : testing
75
+ env :
76
+ SPOTIFY_CLIENT_ID : ${{ secrets.SPOTIFY_CLIENT_ID }}
77
+ SPOTIFY_CLIENT_SECRET : ${{ secrets.SPOTIFY_CLIENT_SECRET }}
78
+ steps :
79
+ - name : Check out repo
80
+ uses : actions/checkout@v2
81
+ - name : Test tvos
82
+ run : gradle tvosX64Test
83
+ - name : Archive test results
84
+ uses : actions/upload-artifact@v2
85
+ with :
86
+ name : code-coverage-report
87
+ path : build/reports
88
+ if : always()
59
89
test_windows :
60
90
runs-on : windows-latest
61
91
environment : testing
You can’t perform that action at this time.
0 commit comments