tests: improve repo package coverage (#3)

* refactor and add repo tests

* add CI name

* use atomic for test shutdown

* use go 1.19

* add timeout
This commit is contained in:
Hayden 2022-09-05 00:26:21 -08:00 committed by GitHub
parent 888ecfde34
commit 508e2e59bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 540 additions and 186 deletions

View file

@ -1,3 +1,5 @@
name: Frontend / Integration
on:
push:
branches: [main]
@ -14,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- uses: actions/setup-node@v3
with:
@ -27,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- uses: actions/setup-node@v3
with:

View file

@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Install Task
uses: arduino/setup-task@v1
@ -28,6 +28,7 @@ jobs:
# Optional: working directory, useful for monorepos
working-directory: backend
args: --timeout=6m
- name: Build API
run: task api:build

View file

@ -12,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: login to container registry
run: docker login ghcr.io --username hay-kot --password $CR_PAT
env: