aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2024-07-29 18:33:08 +0100
committerLuck <git@lucko.me>2024-07-29 18:33:08 +0100
commit60d54cc4df05e3328f8b8d64ea3b44d5d22c9ed7 (patch)
tree2bf8fcf914ac57466549d35dcd89ef96d3a2d65f /.github/workflows
parent4c0149b6a15fa887328bbd88c8055c2138cc4d72 (diff)
downloadspark-60d54cc4df05e3328f8b8d64ea3b44d5d22c9ed7.tar.gz
spark-60d54cc4df05e3328f8b8d64ea3b44d5d22c9ed7.tar.bz2
spark-60d54cc4df05e3328f8b8d64ea3b44d5d22c9ed7.zip
Add some unit tests
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc3588a..5f3cea9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,7 +16,12 @@ env:
jobs:
build-gradle:
- runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest, macos-latest]
+
+ runs-on: ${{ matrix.os }}
+
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -34,11 +39,12 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- - name: Run build with Gradle wrapper
- run: ./gradlew build
+ - name: Run build and tests with Gradle wrapper
+ run: ./gradlew test build
- name: Upload all artifacts
uses: actions/upload-artifact@v3
+ if: matrix.os == 'ubuntu-latest'
with:
name: jars
path: |