Skip to content

Bump spec from c04474f to 66f078e #164

Bump spec from c04474f to 66f078e

Bump spec from c04474f to 66f078e #164

---
name: 'Octave: test and coverage'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
- dev
pull_request:
branches:
- '*'
jobs:
octave_tests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get -y -qq update
sudo apt-get -y install octave liboctave-dev
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- name: Compile JSONio
run: |
cd lib/JSONio
mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
- name: MOxUnit Action
uses: joergbrech/moxunit-action@v1.3.0
with:
tests: tests
src: src
ext: lib/JSONio tests/utils # External resources to add to the search put (excluded from coverage)
with_coverage: true
cover_xml_file: coverage.xml
- name: Code coverage
uses: codecov/codecov-action@v4
with:
file: coverage.xml
flags: ubuntu-latest_octave
name: codecov-umbrella
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}