Unverified Commit 5ffb56ca authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

add github action to upload test reports as artefacts (#313)

Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
parent ca6bd907
......@@ -33,6 +33,12 @@ jobs:
./gradlew publishToMavenLocal
./gradlew -Pskiko.native.enabled=true macosX64Test iosX64Test
./gradlew -Pskiko.native.enabled=true publishToMavenLocal
- uses: actions/upload-artifact@v2
with:
name: test-reports-macos
path: ./skiko/build/reports/tests
retention-days: 5
linux:
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
......@@ -60,6 +66,12 @@ jobs:
sudo apt-get install ninja-build fontconfig libfontconfig1-dev libglu1-mesa-dev libxrandr-dev zip -y
./gradlew -Pskiko.native.enabled=true -i linuxX64Test jvmTest
./gradlew publishToMavenLocal
- uses: actions/upload-artifact@v2
with:
name: test-reports-linux
path: ./skiko/build/reports/tests
retention-days: 5
js:
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
......@@ -91,6 +103,12 @@ jobs:
cd ..
./gradlew -Pskiko.wasm.enabled=true jsTest
./gradlew -Pskiko.wasm.enabled=true publishSkikoWasmRuntimePublicationToMavenLocal
- uses: actions/upload-artifact@v2
with:
name: test-reports-js
path: ./skiko/build/reports/tests
retention-days: 5
windows:
runs-on: windows-2019
steps:
......@@ -106,3 +124,8 @@ jobs:
cd ./skiko
./gradlew jvmTest
./gradlew publishToMavenLocal
- uses: actions/upload-artifact@v2
with:
name: test-reports-windows
path: ./skiko/build/reports/tests
retention-days: 5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment