32 lines
510 B
YAML
32 lines
510 B
YAML
|
name: Run Integration Tests
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: alpine-1.20
|
||
|
steps:
|
||
|
- name: Checkout Code
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Set Up Go
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: '1.20'
|
||
|
|
||
|
- name: Install Dependencies
|
||
|
run: |
|
||
|
cd tests
|
||
|
go mod tidy
|
||
|
|
||
|
- name: Run Integration Tests
|
||
|
run: |
|
||
|
cd tests
|
||
|
go test -v
|