Skip to content

test(e2e): add end to end testing #3

test(e2e): add end to end testing

test(e2e): add end to end testing #3

Workflow file for this run

name: E2E Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- uses: hetznercloud/tps-action@main
- name: Run tests
run: go test -tags e2e -coverpkg=./... -coverprofile=coverage.txt -v -race ./e2e_test
- name: Upload coverage reports to Codecov
if: >
!startsWith(github.head_ref, 'renovate/') &&
!startsWith(github.head_ref, 'release-please--')
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}