Skip to content

Commit

Permalink
Run tests on multiple java versions (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm authored Jan 26, 2022
1 parent a568912 commit 2e88250
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,26 @@ jobs:
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
chmod a+x builder
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
java-compat:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- 8
- 11
- 17
steps:
- name: Checkout Sources
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ matrix.version }}
cache: maven
- name: Build ${{ env.PACKAGE_NAME }} + consumers
run: |
java -version
mvn -B test

0 comments on commit 2e88250

Please sign in to comment.