Skip to content

refactor: extract readToSlice and readToStruct method #132

refactor: extract readToSlice and readToStruct method

refactor: extract readToSlice and readToStruct method #132

Workflow file for this run

name: go unit test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go_unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run coverage
run: go test ./... -coverpkg=./opcua/... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}