Run ci
Kotlin Multiplatform CI / shared-test (push) Failing after 2m9s
Kotlin Multiplatform CI / android-test (push) Failing after 1m32s
Kotlin Multiplatform CI / android-build (push) Skipped
Kotlin Multiplatform CI / web-test (push) Successful in 4m18s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 23s
Debug Gradle Tasks / tasks (push) Successful in 1m47s
Test / test (push) Successful in 19s
Kotlin Multiplatform CI / shared-test (push) Failing after 2m9s
Kotlin Multiplatform CI / android-test (push) Failing after 1m32s
Kotlin Multiplatform CI / android-build (push) Skipped
Kotlin Multiplatform CI / web-test (push) Successful in 4m18s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 23s
Debug Gradle Tasks / tasks (push) Successful in 1m47s
Test / test (push) Successful in 19s
This commit is contained in:
+60
-17
@@ -1,5 +1,5 @@
|
||||
name: Kotlin Multiplatform CI
|
||||
run-name: ${{ gitea.actor }} is testing build source 🚀
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -7,29 +7,72 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
|
||||
shared-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Show repository location
|
||||
run: |
|
||||
echo "Workspace: $GITHUB_WORKSPACE"
|
||||
pwd
|
||||
ls -la
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v4
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
|
||||
- run: java -version
|
||||
- run: chmod +x gradlew
|
||||
|
||||
# - run: chmod +x gradlew
|
||||
- name: Shared Tests
|
||||
run: ./gradlew shared:allTests
|
||||
|
||||
# - run: ./gradlew clean
|
||||
# - run: ./gradlew ktlintCheck
|
||||
# - run: ./gradlew detekt
|
||||
# - run: ./gradlew test
|
||||
# - run: ./gradlew build
|
||||
# - run: ./gradlew assembleDebug
|
||||
android-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
|
||||
- run: chmod +x gradlew
|
||||
|
||||
- name: Android Unit Test
|
||||
run: ./gradlew androidApp:testDebugUnitTest
|
||||
|
||||
android-build:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- android-test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
|
||||
- run: chmod +x gradlew
|
||||
|
||||
- name: Android Debug APK
|
||||
run: ./gradlew androidApp:assembleDebug
|
||||
|
||||
web-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
|
||||
- run: chmod +x gradlew
|
||||
|
||||
- name: JS Test
|
||||
run: ./gradlew webApp:jsTest
|
||||
|
||||
- name: WASM Test
|
||||
run: ./gradlew webApp:wasmJsTest
|
||||
Reference in New Issue
Block a user