Skip to content

Remove old shields badge #23

Remove old shields badge

Remove old shields badge #23

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Setup bats
uses: mig4/setup-bats@v1
with:
bats-version: 1.2.1
- name: Setup kcov
run: |-
sudo apt install libcurl4-openssl-dev libelf-dev libdw-dev cmake &&
wget https://github.com/SimonKagstrom/kcov/archive/v38.tar.gz &&
tar xzf v38.tar.gz &&
cd kcov-38 &&
mkdir build &&
cd build &&
cmake .. &&
make &&
sudo make install &&
cd ../.. &&
rm -rf kcov-38
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Test
run: bats test
- name: Create and upload test coverage
run: |-
mkdir -p coverage &&
kcov coverage bats test &&
bash <(curl -s https://codecov.io/bash)