boxes/.github/workflows/boxes.yml
2021-10-21 20:23:52 +02:00

30 lines
803 B
YAML

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
sudo apt-get install -y git flex bison libunistring-dev libpcre2-dev diffutils vim-common lcov libcmocka-dev
- name: make cov
run: make cov
- 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 }}
path-to-lcov: out/lcov-total.info