Skip to content

Merge branch 'main' of github.com:white-rabbit-1-sketch/mysql-openssl… #1

Merge branch 'main' of github.com:white-rabbit-1-sketch/mysql-openssl…

Merge branch 'main' of github.com:white-rabbit-1-sketch/mysql-openssl… #1

Workflow file for this run

name: Build and Tests with Coverage
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up C++ environment
uses: actions/setup-cpp@v2
with:
compiler: 'gcc'
version: '10.2'
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential libmysqlclient-dev libssl-dev lcov
- name: Build and run tests with coverage
run: |
make test
make cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
file: coverage.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}