mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
Merge pull request #1753 from selfxyz/release/staging-2026-02-16
Release to Staging v2.9.16 - 2026-02-16
This commit is contained in:
55
.github/workflows/kmp-ci.yml
vendored
Normal file
55
.github/workflows/kmp-ci.yml
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
name: KMP CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths: ["packages/kmp-sdk/**", "packages/kmp-test-app/**"]
|
||||
push:
|
||||
branches: [dev, staging, main]
|
||||
paths: ["packages/kmp-sdk/**", "packages/kmp-test-app/**"]
|
||||
|
||||
jobs:
|
||||
kmp-sdk-tests:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/kmp-sdk
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
- uses: ./.github/actions/cache-gradle
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
cache-disabled: true
|
||||
- run: ./gradlew :shared:jvmTest
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: kmp-sdk-test-results
|
||||
path: packages/kmp-sdk/shared/build/reports/tests/
|
||||
|
||||
kmp-test-app-tests:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/kmp-test-app
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
- uses: ./.github/actions/cache-gradle
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
cache-disabled: true
|
||||
- run: ./gradlew :composeApp:testDebugUnitTest
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: kmp-test-app-test-results
|
||||
path: packages/kmp-test-app/composeApp/build/reports/tests/
|
||||
6
.github/workflows/workspace-ci.yml
vendored
6
.github/workflows/workspace-ci.yml
vendored
@@ -91,6 +91,12 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
uses: ./.github/actions/yarn-install
|
||||
|
||||
- name: Install SwiftLint
|
||||
run: |
|
||||
curl -sL "https://github.com/realm/SwiftLint/releases/download/0.57.1/swiftlint_linux.zip" -o /tmp/swiftlint.zip
|
||||
unzip -o /tmp/swiftlint.zip -d /tmp/swiftlint
|
||||
sudo install /tmp/swiftlint/swiftlint /usr/local/bin/swiftlint
|
||||
|
||||
- name: Build workspace dependencies
|
||||
run: yarn build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user