Skip to content

Commit

Permalink
Test spring-petclinic only
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Jul 25, 2023
1 parent f3029d8 commit 60e590a
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
test-java:
runs-on: ubuntu-latest
#if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
strategy:
matrix:
scope: [UT, Postgres, Sqlserver, Oracle]
Expand Down Expand Up @@ -154,7 +154,8 @@ jobs:
- name: Integration test execution - IT
run: |
cd it
ant test-parallel
ant install spring-petclinic
#ant test-parallel
- name: Integration test results comparison - ${{ matrix.scope }}
run: >
mvn test surefire-report:report -Daggregate=true -Dsurefire.failIfNoSpecifiedTests=false
Expand Down Expand Up @@ -193,7 +194,7 @@ jobs:
test-net:
runs-on: ubuntu-latest
#if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
permissions:
checks: write
defaults:
Expand Down Expand Up @@ -288,9 +289,9 @@ jobs:
test-report:
needs: [test-java, test-IT, test-net]
#if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
#avoid publishing to Github pages PRs and dependabot branches
if: ${{ always() && github.event_name != 'pull_request' && !contains('/head/refs/dependabot/', github.ref) }}
#if: ${{ always() && github.event_name != 'pull_request' && !contains('/head/refs/dependabot/', github.ref) }}
runs-on: ubuntu-latest
# Configuration to deploy at github pages
permissions:
Expand Down Expand Up @@ -382,10 +383,10 @@ jobs:

sonarqube:
needs: [test-java]
#if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
#This job fails when comming from a dependabot PR (can't read the sonarqube token for security reasons).
#Links to discussions and workaround at: https://github.com/giis-uniovi/samples-giis-template/issues/4
if: ${{ github.actor != 'dependabot[bot]' }}
#if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: javiertuya/sonarqube-action@v1.1.0
Expand All @@ -398,9 +399,9 @@ jobs:
restore-artifact-name4: "test-report-files-Oracle"

publish-java-snapshot:
#if: ${{ false }} # disable for now
if: ${{ false }} # disable for now
#avoid publishing PRs and dependabot branches
if: ${{ github.event_name != 'pull_request' && !contains('/head/refs/dependabot/', github.ref) }}
#if: ${{ github.event_name != 'pull_request' && !contains('/head/refs/dependabot/', github.ref) }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit 60e590a

Please sign in to comment.