Skip to content

Commit 3c58d14

Browse files
committed
extract ios/tvos tests from macos
Signed-off-by: Adam Ratzman <[email protected]>
1 parent 11d8b55 commit 3c58d14

File tree

1 file changed

+35
-5
lines changed

1 file changed

+35
-5
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a Java project with Gradle
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
33

4-
name: Project CI
4+
name: CI Test Workflow
55

66
on:
77
push:
@@ -46,16 +46,46 @@ jobs:
4646
uses: actions/checkout@v2
4747
- name: Test mac
4848
run: gradle macosX64Test
49-
- name: Test ios
50-
run: gradle iosX64Test
51-
- name: Test tvos
52-
run: gradle tvosX64Test
5349
- name: Archive test results
5450
uses: actions/upload-artifact@v2
5551
with:
5652
name: code-coverage-report
5753
path: build/reports
5854
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()
5989
test_windows:
6090
runs-on: windows-latest
6191
environment: testing

0 commit comments

Comments
 (0)