mirror of
https://github.com/pcvolkmer/onco-analytics-monitor.git
synced 2025-04-19 11:06:52 +00:00
chore: add GitHub workflow file to run tests
This commit is contained in:
parent
3979415c18
commit
ce73d4edd7
24
.github/workflows/tests.yml
vendored
Normal file
24
.github/workflows/tests.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: 'Run Tests'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ 'master', 'main' ]
|
||||
tags: [ '*' ]
|
||||
pull_request:
|
||||
branches: [ '*' ]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
|
||||
- name: Execute tests
|
||||
run: ./gradlew test
|
Loading…
x
Reference in New Issue
Block a user