Skip to content

Commit

Permalink
Trying to get non-Linux platforms skip the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shipilev committed Oct 8, 2020
1 parent 80de40e commit 4884800
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 4884800

Please sign in to comment.