mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
copying the Travis CI setup
This commit is contained in:
parent
d6699f62f0
commit
5477846059
2 changed files with 18 additions and 5 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -29,6 +29,7 @@ jobs:
|
|||
- run: >
|
||||
mvn
|
||||
install
|
||||
jacoco:prepare-agent
|
||||
--define jacoco.skip=false
|
||||
--define maven.javadoc.skip=true
|
||||
--define skipTests=true
|
||||
|
|
@ -38,19 +39,16 @@ jobs:
|
|||
# https://docs.travis-ci.com/user/languages/java/#maven-default-script-command
|
||||
# tests are interdependent and require a specific order
|
||||
# running in parallel causes some tests to fail
|
||||
# - run: mvn test -B # -T 1C
|
||||
- run: mvn test -B # -T 1C
|
||||
|
||||
- env:
|
||||
CI_NAME: github
|
||||
run: >
|
||||
mvn
|
||||
jacoco:prepare-agent
|
||||
test
|
||||
jacoco:report
|
||||
jacoco:report-aggregate
|
||||
verify
|
||||
coveralls:report
|
||||
--no-transfer-progress
|
||||
--define jacoco.skip=false
|
||||
--define repoToken=${{ secrets.GITHUB_TOKEN }}
|
||||
--define pullRequest=${{ github.event.number }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue