Skip to content

Make test-with-coverage.yml workflow run in push events to master branch #610

Make test-with-coverage.yml workflow run in push events to master branch

Make test-with-coverage.yml workflow run in push events to master branch #610

name: test-with-coverage
on:
pull_request:
branches: [ master ]
push:
branches:
- master
tags-ignore:
- '*.*'
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout PR code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Test
run: |
make test-with-coverage
- name: Upload coverage artifact
uses: actions/upload-artifact@v6
with:
name: coverage
path: ./out/coverage/coverage.txt