Setup CI workflow to run integration tests
This commit is contained in:
parent
e3b2c1ca64
commit
8ed71481eb
19
.gitea/workflows/test-integration.yml
Normal file
19
.gitea/workflows/test-integration.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Integration Tests
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test-integration:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.21
|
||||
check-latest: true
|
||||
- uses: actions/checkout@v3
|
||||
- name: Test
|
||||
run: |
|
||||
make test-integration
|
@ -1,2 +1,2 @@
|
||||
test-integration:
|
||||
go test -mod=readonly ./integration/... -test.v -timeout 30m
|
||||
go test -mod=readonly ./integration/... -test.v -timeout 10m
|
||||
|
Loading…
Reference in New Issue
Block a user