Skip to content

Native MySQL dumper #137

Native MySQL dumper

Native MySQL dumper #137

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
strategy:
matrix:
go-version: [1.22.2]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: ikalnytskyi/action-setup-postgres@v4
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: |
go test -v -cover ./... -coverprofile coverage.out -coverpkg ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ runner.os == 'Linux' }}
with:
files: ./coverage.out