1
0
mirror of https://github.com/crawler-commons/crawler-commons synced 2026-01-19 07:31:34 +01:00
crawler-commons/.github/workflows/code_coverage.yml
Julien Nioche 167df4db8a
use carbonrunner for gh workflows (#557)
Signed-off-by: Julien Nioche <julien@digitalpebble.com>
2025-12-13 07:57:16 +00:00

30 lines
684 B
YAML

name: Code Coverage
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Coveralls
runs-on: carbonrunner-4vcpu-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Build & test with Maven and coverage
run: mvn -B --no-transfer-progress test
- name: Post to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
format: jacoco