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
|
name: Kotlin Multiplatform CI
|
||||||
run-name: ${{ gitea.actor }} is testing build source 🚀
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -7,29 +7,72 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
verify:
|
|
||||||
|
shared-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Show repository location
|
|
||||||
run: |
|
- uses: actions/setup-java@v4
|
||||||
echo "Workspace: $GITHUB_WORKSPACE"
|
|
||||||
pwd
|
|
||||||
ls -la
|
|
||||||
- name: Setup JDK
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
|
||||||
- run: java -version
|
- run: chmod +x gradlew
|
||||||
|
|
||||||
# - run: chmod +x gradlew
|
- name: Shared Tests
|
||||||
|
run: ./gradlew shared:allTests
|
||||||
|
|
||||||
# - run: ./gradlew clean
|
android-test:
|
||||||
# - run: ./gradlew ktlintCheck
|
runs-on: ubuntu-latest
|
||||||
# - run: ./gradlew detekt
|
|
||||||
# - run: ./gradlew test
|
steps:
|
||||||
# - run: ./gradlew build
|
- uses: actions/checkout@v4
|
||||||
# - run: ./gradlew assembleDebug
|
|
||||||
|
- 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