Skip to content

Add missing headers #443

Add missing headers

Add missing headers #443

Workflow file for this run

name: Code Coverage
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
jobs:
code-coverage:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
ports:
- 5432:5432
#Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
TAOPQ_TEST_DATABASE: host=localhost dbname=postgres user=postgres password=postgres
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update -yq
- run: sudo apt-get install -yq libpq-dev
- run: cmake -E make_directory build
- working-directory: build/
run: cmake $GITHUB_WORKSPACE -DCMAKE_CXX_FLAGS="-coverage"
- working-directory: build/
run: cmake --build .
- working-directory: build/
run: ctest --output-on-failure
- working-directory: build/
run: bash <(curl -s https://codecov.io/bash)