fix: Fixes and performance improvements in utils package (#331)

This commit is contained in:
Alessandro (Ale) Segala
2025-03-14 17:21:24 -07:00
committed by GitHub
parent b483e2e92f
commit 348192b9d7
6 changed files with 260 additions and 28 deletions

View File

@@ -33,6 +33,29 @@ jobs:
name: docker-image
path: /tmp/docker-image.tar
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'backend/go.mod'
cache-dependency-path: 'backend/go.sum'
- name: Install dependencies
working-directory: backend
run: |
go get ./...
- name: Run backend unit tests
working-directory: backend
run: |
go test -v ./... | tee /tmp/TestResults.log
- uses: actions/upload-artifact@v4
if: always()
with:
name: backend-unit-tests
path: /tmp/TestResults.log
retention-days: 15
test-sqlite:
runs-on: ubuntu-latest
needs: build