Skip to content

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

build: 移除 Travis,替换为 GitHub Actions

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

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: 'oracle'
java-version: '8'
cache: maven
- run: |
java -version
mvn -v
- run: mvn clean verify
- run: mvn clean test jacoco:report coveralls:report -DrepoToken="${{COVERALLS_TOKEN}}"

Check failure on line 22 in .github/workflows/mvn-test.yml

View workflow run for this annotation

GitHub Actions / run mvn test

Invalid workflow file

The workflow is not valid. .github/workflows/mvn-test.yml (Line: 22, Col: 14): Unrecognized named-value: 'COVERALLS_TOKEN'. Located at position 1 within expression: COVERALLS_TOKEN