From 9f23ae5b84d4dc2a2974da4e2a3687eebd825fe9 Mon Sep 17 00:00:00 2001 From: Vfrolov Date: Mon, 11 Jul 2022 12:17:07 +0300 Subject: [PATCH] Migrate diktat smoke tests to SAVE-cli mechanism ### What's done: * migrated diktat smoke tests to SAVE-cli mechanism Closes #1383 --- .github/workflows/build_and_test.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d8e14871bc..d008d171cb 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -23,7 +23,7 @@ jobs: restore-keys: | maven-build- - name: Maven Install - run: mvn install -DskipTests + run: mvn -B clean install -DskipTests - name: Maven run test run: mvn test - name: Code coverage report @@ -143,13 +143,25 @@ jobs: - name: Maven Install if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} run: | - mvn -B -T1C clean install + mvn -B -T1C clean install -DskipTests + shell: bash + + - name: Maven run test + if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} + run: | + mvn test shell: bash - name: Maven Install on windows if: runner.os == 'Windows' run: | - mvn -B -T1C clean install + mvn -B -T1C clean install -DskipTests + shell: cmd + + - name: Maven run test + if: runner.os == 'Windows' + run: | + mvn test shell: cmd # This step needs a Git repository, so it's impossible to extract it