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 806ac63
Showing 1 changed file with 30 additions and 14 deletions.
44 changes: 30 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,38 @@ on:
pull_request

jobs:
build:

prepare:
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

test-core-data:
needs: prepare
runs-on ubuntu-latest
steps:
- name: Build
run: ./gradlew :core:data:test

- name: Build
run: ./gradlew build
test-core-domain:
needs: prepare
runs-on ubuntu-latest
steps:
- name: Build
run: ./gradlew :core:domanin:test

test-core-network:
needs: prepare
runs-on ubuntu-latest
steps:
- name: Build
run: ./gradlew :core:network:test

0 comments on commit 806ac63

Please sign in to comment.