mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-01 18:47:20 +01:00
update go test
This commit is contained in:
24
.github/workflows/go.yaml
vendored
24
.github/workflows/go.yaml
vendored
@@ -29,32 +29,8 @@ jobs:
|
||||
- name: Build API
|
||||
run: task api:build
|
||||
|
||||
- name: Build CLI
|
||||
run: task cli:build
|
||||
- name: Test
|
||||
run: task api:coverage
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
run: cd backend && bash <(curl -s https://codecov.io/bash)
|
||||
end-to-end:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Task
|
||||
uses: arduino/setup-task@v1
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.18
|
||||
|
||||
- name: Build API
|
||||
run: task api:build
|
||||
|
||||
- name: Setup Node
|
||||
working-directory: ./client
|
||||
run: npm install
|
||||
|
||||
- name: Test
|
||||
run: task client:test
|
||||
|
||||
Reference in New Issue
Block a user