31 lines
527 B
YAML
31 lines
527 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: Use Preinstalled Go
|
|
run: |
|
|
echo "Using preinstalled Go version:"
|
|
go version
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
cd tests
|
|
go mod tidy
|
|
|
|
- name: Run Integration Tests
|
|
run: |
|
|
cd tests
|
|
go test -v
|