diff --git a/.github/workflows/pxf-server-on-pull-requests.yml b/.github/workflows/pxf-server-on-pull-requests.yml new file mode 100644 index 000000000..aebb26a24 --- /dev/null +++ b/.github/workflows/pxf-server-on-pull-requests.yml @@ -0,0 +1,27 @@ +name: pxf-server +on: + push: + paths: + - 'server/**' + branches: + - main + pull_request: + paths: + - 'server/**' + +jobs: + build-and-test: + name: build-and-test with java v${{ matrix.Java }} + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11' ] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.java }} + distribution: 'corretto' + - name: Assemble and test with Gradle + working-directory: ./server + run: ./gradlew build --no-daemon \ No newline at end of file