Skip to content

Commit

Permalink
Added Build and Test stage
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSchmelter committed Oct 2, 2024
1 parent 272364d commit c6f72b1
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,31 @@ jobs:
options: --user root

steps:
# Install Gradle 8.10
- name: Checking Gradle & Java
run:
java -version && gradle --version
java -version && gradle --version

- name: Building Project
run:
gradle clean assemble -p simona

test:
runs-on: ubuntu-latest
container:
image: morpheus99/corretto-gradle
options: --user root

steps:
- name: Checking Gradle & Java
run:
java -version && gradle --version

- name: Running tests
run:
gradle --refresh-dependencies spotlessCheck pmdMain pmdTest -p simona

- name: Generate JavaDoc
run: |
set +x
cd simona
./gradlew javadoc

0 comments on commit c6f72b1

Please sign in to comment.