build: 调整模块关系,独立出 constrain 模块,调整测试用例位置 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run mvn test | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
run-mvn-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
cache: maven | |
- run: | | |
java -version | |
mvn -v | |
- run: mvn verify | |
- run: mvn clean test coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}" -f pom.xml |