Skip to content

Commit

Permalink
Comment out backend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Oct 4, 2023
1 parent 7c9303a commit 9ebcb3f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@ jobs:
# Only use triggers for PRs
triggers: ${{ github.event_name == 'pull_request' && '("frontend/")' || '' }}

backend:
name: Backend Tests
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-22.04
steps:
- uses: bcgov-nr/[email protected]
with:
commands: mvn clean package
dir: backend
java-cache: maven
java-distribution: temurin
java-version: 17
sonar_args: >
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
-Dsonar.organization=bcgov-sonarcloud
-Dsonar.project.monorepo.enabled=true
-Dsonar.projectKey=nr-silva-backend
-Dsonar.sources=src
sonar_token: ${{ secrets.SONAR_TOKEN_BACKEND }}
triggers: ${{ github.event_name == 'pull_request' && '("backend/")' || '' }}
# backend:
# name: Backend Tests
# if: github.event_name != 'pull_request' || !github.event.pull_request.draft
# runs-on: ubuntu-22.04
# steps:
# - uses: bcgov-nr/[email protected]
# with:
# commands: mvn clean package
# dir: backend
# java-cache: maven
# java-distribution: temurin
# java-version: 17
# sonar_args: >
# -Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
# -Dsonar.organization=bcgov-sonarcloud
# -Dsonar.project.monorepo.enabled=true
# -Dsonar.projectKey=nr-silva-backend
# -Dsonar.sources=src
# sonar_token: ${{ secrets.SONAR_TOKEN_BACKEND }}
# triggers: ${{ github.event_name == 'pull_request' && '("backend/")' || '' }}

# https://github.com/marketplace/actions/aqua-security-trivy
trivy:
Expand Down

0 comments on commit 9ebcb3f

Please sign in to comment.