Skip to content

Commit

Permalink
Make tests to run mvn clean package (open-metadata#13480)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshach authored Oct 8, 2023
1 parent 08d7ee6 commit b06db04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ jobs:
if: ${{ github.event_name == 'pull_request_target' }}
run: |
git fetch --no-tags https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main
mvn -pl :openmetadata-service clean test -am
mvn -pl :openmetadata-service clean package -am
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: mvn -Dsonar.login=${{ secrets.SONAR_TOKEN }} clean test
run: mvn -Dsonar.login=${{ secrets.SONAR_TOKEN }} clean package

- name: Clean Up
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-postgres-tests-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ jobs:
if: ${{ github.event_name == 'pull_request_target' }}
run: |
git fetch --no-tags https://github.com/open-metadata/OpenMetadata.git +refs/heads/main:refs/remotes/origin/main
mvn -pl :openmetadata-service -Dprofile=postgres-tests clean test -am
mvn -pl :openmetadata-service -Dprofile=postgres-tests clean package -am
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'push' }}
run: mvn clean test
run: mvn clean package

- name: Clean Up
run: |
Expand Down

0 comments on commit b06db04

Please sign in to comment.