Merge pull request #329 from ozlerhakan/4.7.0 #186
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: Poiji Build and Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
java: [ 11, 17, 23 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: adopt | |
- name: Build and Test project | |
run: mvn clean -B package --file pom.xml -P coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |