Skip to content

Update test_coverage.yml #2

Update test_coverage.yml

Update test_coverage.yml #2

Workflow file for this run

name: Test coverage report
on:
workflow_dispatch:
push:
branches:
- release/*
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Run tests
run: |
mvn '-Dtest=!*IntegrationTest' verify -Djacoco.destFile=exportJacoco/jacoco-fast.exec
- name: Upload jacoco exec results
uses: actions/upload-artifact@v2
with:
name: unit-tests-jacoco
path: exportJacoco/jacoco-fast.exec
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

Check failure on line 26 in .github/workflows/test_coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_coverage.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}