Skip to content

add unit tests for db logic checks #104

add unit tests for db logic checks

add unit tests for db logic checks #104

Workflow file for this run

name: Publish library
on:
push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Publish package
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: "test build publish -i"
env:
SYNLOAD_REPO_USER: ${{ secrets.SYNLOAD_REPO_USER}}
SYNLOAD_REPO_PASS: ${{ secrets.SYNLOAD_REPO_PASS}}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'