More fixes, initial Github Actions #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | ||
on: [push, pull_request ] | ||
paths: | ||
- 'src/**' | ||
- 'include/**' | ||
- 'test/src/**' | ||
- 'test/reference/**' | ||
- 'Makefile' | ||
- '*.mk' | ||
- '.github/workflows/test.yml' | ||
jobs: | ||
test: | ||
name: Test and coverage | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: gcc | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run regression tests | ||
run: make test | ||
- name: Generate coverage data | ||
run: make coverage | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
continue-on-error: true | ||
with: | ||
fail_ci_if_error: false | ||
flags: unittests | ||
name: codecov | ||
verbose: true | ||