Skip to content

build: 移除 Travis,替换为 GitHub Actions #7

build: 移除 Travis,替换为 GitHub Actions

build: 移除 Travis,替换为 GitHub Actions #7

Workflow file for this run

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 --batch-mode --update-snapshots clean test jacoco:report coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}"