mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-21 01:50:28 +00:00
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:
parent
888ecfde34
commit
508e2e59bd
20 changed files with 540 additions and 186 deletions
6
.github/workflows/frontend.yaml
vendored
6
.github/workflows/frontend.yaml
vendored
|
@ -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:
|
||||
|
|
3
.github/workflows/go.yaml
vendored
3
.github/workflows/go.yaml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue