Skip to content

Commit

Permalink
Add separate test job WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandraKrasteva authored Apr 7, 2024
1 parent e4acc92 commit af478e0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ env:
IMAGE_NAME: ${{github.repository}}

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4

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

- name: Setup Gradle
uses: gradle/actions/[email protected]

- name: Test PostService
run: ./gradlew test ./PostService

build:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit af478e0

Please sign in to comment.