Skip to content

Commit

Permalink
Change to test runs parallel on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hicka04 committed Oct 5, 2024
1 parent 3c9032b commit 36edc27
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@ on:
pull_request

jobs:
build:

test:
strategy:
matrix:
module:
- :core:data
- :core:domain
- :core:network
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: gradle
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew ${{ matrix.module }}:test

0 comments on commit 36edc27

Please sign in to comment.