mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
Add integration tests
This commit is contained in:
1 parent
428023f548
commit
ec7a2e1164
1 file changed
+24
-1
@@ -100,4 +100,27 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Build with Ant
|
||||
run: ant -noinput dist test.${{ matrix.version }}
|
||||
run: ant -noinput dist test.${{ matrix.version }}
|
||||
|
||||
docker-integration-test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
jdk: [8, 9, 10, 11, 12, 13, 14, 15, 16]
|
||||
tool: [maven, gradle, ant, bazel]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: lombok.jar
|
||||
|
||||
- name: Build container
|
||||
working-directory: ./docker
|
||||
run: docker build -t lombok-${{ matrix.tool }}-jdk${{ matrix.jdk }} -f ${{ matrix.tool }}/Dockerfile .
|
||||
|
||||
- name: Compile in container
|
||||
run: docker run -v ./dist/lombok.jar:/workspace/lombok.jar lombok-maven-jdk16 /bin/bash -c "cd /classpath; mvn compile"
|
||||
Reference in new issue
Block a user