Skip to content

Tests: adds unit tests for pkg/graph/variable.go #998

Tests: adds unit tests for pkg/graph/variable.go

Tests: adds unit tests for pkg/graph/variable.go #998

Workflow file for this run

name: unit tests
on:
push:
branches: [ main ]
paths:
- "**.go"
- go.mod
- go.sum
pull_request:
branches: [ main ]
paths:
- "**.go"
- go.mod
- go.sum
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.24' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build cmd
- name: Run unit tests
run: make test WHAT=unit