Skip to content

Update codecov conf, add simple tests for internal/cmd #84

Update codecov conf, add simple tests for internal/cmd

Update codecov conf, add simple tests for internal/cmd #84

Workflow file for this run

name: mysql
on: [push, pull_request]
jobs:
mariadb:
name: mariadb v10.6
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build environment and run tests
run: make -f ci.Makefile ci-mariadb-up
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: Teardown
run: make -f ci.Makefile ci-mariadb-down
mysql_v57:
name: mysql v5.7
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build environment and run tests
run: make -f ci.Makefile ci-mysql57-up
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: Teardown
run: make -f ci.Makefile ci-mysql57-down
mysql_v8:
name: mysql v8.0
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build environment and run tests
run: make -f ci.Makefile ci-mysql8-up
- name: Upload code coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: /tmp/cover.out,/tmp/cover_driver.out
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: Teardown
run: make -f ci.Makefile ci-mysql8-down