Skip to content

Merge pull request #96 from cpp-lln-lab/pre-commit-ci-update-config #142

Merge pull request #96 from cpp-lln-lab/pre-commit-ci-update-config

Merge pull request #96 from cpp-lln-lab/pre-commit-ci-update-config #142

Workflow file for this run

name: tests and coverage
on:
push:
branches:
- master
- dev
pull_request:
branches: ['*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- name: MOxUnit Action
uses: joergbrech/[email protected]
with:
tests: tests
src: subfun
# add CPP_PTB to the path but don't include it the coverage
ext: lib/CPP_PTB/src
# Octave packages needed
pkg: statistics
with_coverage: true
cover_xml_file: coverage.xml
- name: Code coverage
uses: codecov/codecov-action@v3
with:
file: coverage.xml # optional
flags: unittests # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)