Skip to content

📝 doc: Adjust the readme regarding GUI content #135

📝 doc: Adjust the readme regarding GUI content

📝 doc: Adjust the readme regarding GUI content #135

Workflow file for this run

# 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 }}