refactor: extract report data object and formatters #1874
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End to end Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Build binary for integration tests | |
run: go build -a -o ./bearer ./cmd/bearer/main.go | |
- name: Run tests | |
run: go test -v ./e2e/... -p 8 | |
timeout-minutes: 10 | |
env: | |
USE_BINARY: true |