boxes/.github/workflows/boxes.yml

30 lines
803 B
YAML
Raw Normal View History

name: build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: add-packages
run: |
sudo apt-get update -y
2021-10-20 22:28:34 +02:00
sudo apt-get install -y git flex bison libunistring-dev libpcre2-dev diffutils vim-common lcov libcmocka-dev
- name: make cov
run: make cov
2021-10-20 22:28:34 +02:00
- name: Run white-box tests
run: make utest
- name: Run black-box tests
run: make covtest
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2021-10-20 22:28:34 +02:00
path-to-lcov: out/lcov-total.info