Skip to content

Commit

Permalink
testing automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AWerbrouck committed Feb 29, 2024
1 parent 1f9e3d3 commit 67c6567
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/docker_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: running test with github actions
on: workflow_dispatch

jobs:
test:
runs-on: ubuntu-latest
name: run unit tests on java 17
steps:
- uses: actions/checkout@master
- name: setup java
uses: actions/setup-java@v1
with:
java-version: 17
- run: gradle test
7 changes: 6 additions & 1 deletion backend/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ dependencies {
testImplementation 'org.springframework.security:spring-security-test'
}

tasks.named('test') {
tasks.named('test',Test) {
useJUnitPlatform()
maxHeapSize = '1G'

testLogging {
events "passed"
}
}

0 comments on commit 67c6567

Please sign in to comment.