mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
ci: run folio's unit tests on every pr
This commit is contained in:
1 parent
ca409ca6b8
commit
cc32640d03
1 file changed
+13
-2
@@ -27,11 +27,16 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up the JDKs
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
# The sidecar toolchain pins 17; the metro gradle plugin folio
|
||||||
|
# compiles with needs a 21 runtime. Both are installed so each
|
||||||
|
# gradle build can pick its own.
|
||||||
|
java-version: |
|
||||||
|
17
|
||||||
|
21
|
||||||
|
|
||||||
- name: Set up Android SDK
|
- name: Set up Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
@@ -95,6 +100,12 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make test
|
run: make test
|
||||||
|
|
||||||
|
# folio's own gradle build, which `make test` does not reach. Its own
|
||||||
|
# step rather than part of `test` so the target developers run
|
||||||
|
# constantly keeps its 17 floor.
|
||||||
|
- name: Run folio's unit tests
|
||||||
|
run: make test-folio
|
||||||
|
|
||||||
browser:
|
browser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in new issue
Block a user