Skip to content

chore: update run instructions (#94) #37

chore: update run instructions (#94)

chore: update run instructions (#94) #37

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Unit Test Coverage
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up Go
uses: actions/setup-go@v5
- name: Install dependencies
run: |
cd parser
go mod download
- name: Run tests
run: |
cd parser
go test -coverprofile=coverage.txt
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}