mirror of
https://github.com/versity/versitygw.git
synced 2026-05-13 15:31:28 +00:00
Enough people are making use of sidecar that we need to add a CI test to make sure we have some coverage with this mode. This add a couple small functional test fixes found wtih enabling sidecar tests as well.
32 lines
552 B
YAML
32 lines
552 B
YAML
name: functional tests (sidecar)
|
|
permissions: {}
|
|
on: pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: RunTests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 'stable'
|
|
id: go
|
|
|
|
- name: Get Dependencies
|
|
run: |
|
|
go mod download
|
|
|
|
- name: Build and Run
|
|
run: |
|
|
make testbin
|
|
./runtests.sh --sidecar
|
|
|
|
- name: Coverage Report
|
|
run: |
|
|
go tool covdata percent -i=/tmp/covdata
|