diff --git a/.github/workflows/pre-integration.yml b/.github/workflows/pre-integration.yml index 29406f4d3..c0c8856de 100644 --- a/.github/workflows/pre-integration.yml +++ b/.github/workflows/pre-integration.yml @@ -28,9 +28,9 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '.github/workflows/pre-integration.yml') }} restore-keys: ${{ runner.os }}-maven - - name: Run tests + - name: Run build with tests run: mvn clean install -P ${{ matrix.profile }} -B --file pom.xml - if: matrix.os == 'Linux' || matrix.profile == 'default' + if: (runner.os == 'Linux') || (matrix.profile == 'default') - name: Run build without tests run: mvn clean install -DskipTests -P ${{ matrix.profile }} -B --file pom.xml - if: matrix.os != 'Linux' && matrix.profile != 'default' + if: (runner.os != 'Linux') && (matrix.profile != 'default')