Skip to content

Commit

Permalink
Create a separate CI file for module functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Jan 25, 2024
1 parent 580a932 commit d56f5c4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
java-version: ${{ matrix.java }}

- name: Build with Maven
run: mvn -B verify -DskipUnitTests=true -Dtests.max-container-count=5 --file extra/pom.xml
run: mvn -B verify -DskipUnitTests=true -DskipModuleFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile --file extra/pom.xml
33 changes: 33 additions & 0 deletions .github/workflows/pr-module-functional-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Module functional tests

on:
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**'
branches:
- master
release:
types:
- created

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
java: [ 17 ]

steps:
- uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
cache: 'maven'
java-version: ${{ matrix.java }}

- name: Build with Maven
run: mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml

0 comments on commit d56f5c4

Please sign in to comment.