📝 doc: Adjust the readme regarding GUI content #136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a workflow to help you test the unit case and show codecov | |
name: "test" | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
golang: | |
- 1.22 | |
steps: | |
- name: "set up go" | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: "checkout ${{ github.ref }}" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: "run go build" | |
run: go build -v ./... | |
- name: "run go test and out codecov" | |
run: go test -v ./... -race -coverprofile=coverage.out -covermode=atomic | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |