[Backport 0.x] Changed Java utils logging to SLF4J logger for flint-core package. #3631
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| entry: | |
| - { os: ubuntu-latest, java: 11 } | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| - name: Set up SBT | |
| uses: sbt/setup-sbt@v1 | |
| - name: Style check | |
| run: sbt scalafmtCheckAll | |
| - name: Set SBT_OPTS | |
| # Needed to extend the JVM memory size to avoid OutOfMemoryError for HTML test report | |
| run: echo "SBT_OPTS=-Xmx2G" >> $GITHUB_ENV | |
| - name: Integ Test | |
| run: sbt test integtest/integration | |
| - name: Upload test report | |
| if: always() # Ensures the artifact is saved even if tests fail | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-reports | |
| path: target/test-reports # Adjust this path if necessary |