Skip to content

Commit

Permalink
Run unit tests on commit and before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kichik authored Jun 26, 2023
1 parent a95ee6e commit 42c34b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
java-version: ${{ matrix.java }}
- name: Build
run: mvn -B package
- name: Test
run: mvn -B test
publish:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags')
Expand Down

0 comments on commit 42c34b1

Please sign in to comment.