Skip to content

test suite maintenance #250

test suite maintenance

test suite maintenance #250

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: unit-tests
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
go-version: [1.20.x, 1.21.x, 1.22.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Set env vars
run: |
echo "GOARCH=amd64" >> $GITHUB_ENV
echo "DB_HOST=127.0.0.1" >> $GITHUB_ENV
echo "UPPER_DB_LOG=ERROR" >> $GITHUB_ENV
- name: Run target
run: make test