We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e93b287 commit dad1185Copy full SHA for dad1185
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,25 @@
1
+name: Build and test
2
+
3
+on: [ pull_request, push ]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ strategy:
10
+ matrix:
11
+ java: [ 8, 11, 17 ]
12
13
+ name: Java ${{ matrix.java }} build
14
15
+ steps:
16
17
+ - name: Setup Maven Action
18
+ uses: s4u/setup-maven-action@v1.3.1
19
+ with:
20
+ java-version: ${{ matrix.java }}
21
22
+ - name: Run docker image for integration tests
23
+ run: docker run -d --name wp_build_test -p 80:80 afrozaar/wordpress:latest
24
25
+ - run: mvn verify
0 commit comments