Skip to content

Commit

Permalink
only test when push to main or pull_request to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingxiao108105 committed Sep 25, 2021
1 parent f20ce88 commit 7a26046
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

name: Java CI with Maven

#only test when push to main or pull_request to main
on:
[push]
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
push:
branches: [ main ]
pull_request:
branches: [ main ]


#Build't job
jobs:
#Test's job
tests:
name: Unit tests
name: Integration tests
#Run on Ubuntu using the latest version
runs-on: ubuntu-latest

Expand Down

0 comments on commit 7a26046

Please sign in to comment.