Modify DefaultObjectMapper to be able to be used as utility #200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JUnit | |
on: [ push ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Shutdown default MySQL | |
run: sudo service mysql stop | |
- name: Setup MySQL | |
uses: mirromutth/mysql-action@v1.1 | |
with: | |
mysql database: 'test' | |
mysql user: 'test' | |
mysql password: 'test' | |
mysql port: 3306 | |
- name: Gradle Build | |
run: ./gradlew build -x test | |
- name: Gradle Test | |
run: ./gradlew test | |
- name: JUnit Report Action | |
uses: mikepenz/action-junit-report@v3.7.1 | |
if: always() | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' |