Setup CI workflow to run integration tests

This commit is contained in:
Prathamesh Musale 2024-02-29 12:03:58 +05:30
parent e3b2c1ca64
commit 8ed71481eb
2 changed files with 20 additions and 1 deletions

View 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

View File

@ -1,2 +1,2 @@
test-integration:
go test -mod=readonly ./integration/... -test.v -timeout 30m
go test -mod=readonly ./integration/... -test.v -timeout 10m