This commit is contained in:
parent
72d76c85ed
commit
c8a5ae02c0
8 changed files with 511 additions and 21 deletions
31
.forgejo/workflows/test.yml
Normal file
31
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue