From 26490f1529aafcf6c0172369827ca26f6464586e Mon Sep 17 00:00:00 2001 From: andrii <25188+unorsk@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:28:24 +0200 Subject: [PATCH] Oppgraderer til ny bidrag-transport (#50) Faster gh-actions --- .github/workflows/deploy_feature.yaml | 38 +++++++++++++-------------- .github/workflows/pr.yaml | 38 +++++++++++++-------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/deploy_feature.yaml b/.github/workflows/deploy_feature.yaml index c5b8abdb0..649d2f7cd 100644 --- a/.github/workflows/deploy_feature.yaml +++ b/.github/workflows/deploy_feature.yaml @@ -30,7 +30,7 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - run: mvn -Dmaven.test.skip=true -B -e --settings .m2/maven-settings.xml clean install + - run: mvn -B -e --settings .m2/maven-settings.xml clean install - uses: nais/docker-build-push@v0 id: docker-push with: @@ -41,29 +41,29 @@ jobs: image: ${{ steps.docker-push.outputs.image }} tag: ${{ steps.docker-push.outputs.tag }} - run-tests: - runs-on: ubuntu-latest - name: Run tests - needs: build - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - run: mvn -B -e --settings .m2/maven-settings.xml clean install +# run-tests: +# runs-on: ubuntu-latest +# name: Run tests +# needs: build +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v3 +# with: +# java-version: '17' +# distribution: 'temurin' +# - uses: actions/cache@v3 +# with: +# path: ~/.m2 +# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} +# restore-keys: | +# ${{ runner.os }}-maven- +# - run: mvn -B -e --settings .m2/maven-settings.xml clean install deploy-feature: runs-on: ubuntu-latest name: Deploy feature needs: - - run-tests +# - run-tests - build steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 8ddb4b797..80823a5bb 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -29,7 +29,7 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - run: mvn -Dmaven.test.skip=true -B -e --settings .m2/maven-settings.xml clean install + - run: mvn -B -e --settings .m2/maven-settings.xml clean install - uses: nais/docker-build-push@v0 id: docker-push with: @@ -40,29 +40,29 @@ jobs: image: ${{ steps.docker-push.outputs.image }} tag: ${{ steps.docker-push.outputs.tag }} - run-tests: - runs-on: ubuntu-latest - name: Run tests - needs: build - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - run: mvn -B -e --settings .m2/maven-settings.xml clean install +# run-tests: +# runs-on: ubuntu-latest +# name: Run tests +# needs: build +# steps: +# - uses: actions/checkout@v4 +# - uses: actions/setup-java@v3 +# with: +# java-version: '17' +# distribution: 'temurin' +# - uses: actions/cache@v3 +# with: +# path: ~/.m2 +# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} +# restore-keys: | +# ${{ runner.os }}-maven- +# - run: mvn -B -e --settings .m2/maven-settings.xml clean install deploy-dev: runs-on: ubuntu-latest name: Deploy dev needs: - - run-tests +# - run-tests - build steps: - uses: actions/checkout@v4