go-mail/.github/workflows/codecov.yml

30 lines
577 B
YAML
Raw Normal View History

2022-03-15 21:32:05 +01:00
name: Codecov workflow
2022-03-15 21:29:26 +01:00
on:
push:
branches:
2022-03-15 21:30:51 +01:00
- main
2022-03-15 21:29:26 +01:00
paths:
- '**.go'
- 'go.*'
- '.github/**'
- 'codecov.yml'
pull_request:
branches:
2022-03-15 21:30:51 +01:00
- main
2022-03-15 21:29:26 +01:00
paths:
- '**.go'
- 'go.*'
- '.github/**'
- 'codecov.yml'
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@master
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos