Skip to content

.github: add codecov report #3

.github: add codecov report

.github: add codecov report #3

Workflow file for this run

name: CodeCov
on:
- push
# push:
# branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install tools
run: |
sudo apt update
sudo apt install --yes \
build-essential \
meson \
pkg-config \
libfuse-dev \
libfuse3-dev \
liblz4-dev \
liblzma-dev \
zlib1g-dev \
libzstd-dev \
squashfs-tools
- name: configure
run: |
CC=gcc meson setup /tmp/build \
-Db_coverage=true \
-Dwerror=true \
-Dexamples=true \
-Dzlib=enabled \
-Dlz4=enabled \
-Dlzma=enabled \
-Dzstd=enabled \
-Dthreads=enabled \
-Dfuse-old=enabled \
-Dtest=extended
- name: test
run: |
ninja -C /tmp/build test