Skip to content

Add the CoberturaFormatter #119

Add the CoberturaFormatter

Add the CoberturaFormatter #119

Workflow file for this run

name: CI Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
ruby: ['3.1', '3.2', '3.3']
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
env:
RUN_COVERAGE_REPORT: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec spec
- run: bundle exec rubocop
steps:

Check failure on line 29 in .github/workflows/project-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/project-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
- uses: actions/checkout@main
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true # optional (default = false)
files: ./coverage/coverage.xml # optional
flags: unittests # optional
verbose: true # optional (default = false)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}