Skip to content

tests: refactor test suite and move them to their own directory. (#727) #277

tests: refactor test suite and move them to their own directory. (#727)

tests: refactor test suite and move them to their own directory. (#727) #277

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: unit-tests
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
go-version: [1.22.x, 1.23.x, 1.24.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: Configure environment
run: |
echo "GOARCH=amd64" >> $GITHUB_ENV
echo "DB_HOST=127.0.0.1" >> $GITHUB_ENV
echo "UPPER_DB_LOG=ERROR" >> $GITHUB_ENV
- name: Run tests
run: make test