Skip to content

Execute unit tests several times in to prevent flakes #1702

Execute unit tests several times in to prevent flakes

Execute unit tests several times in to prevent flakes #1702

---
name: Test Pull Request
on:
pull_request:
branches:
- main
jobs:
unit:
name: Unit Tests
runs-on: ubuntu-22.04
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Checkout
uses: actions/checkout@v4
- name: Check repo structure
run: ./scripts/sanity.sh
- name: Run Unit Tests
run: ./scripts/unit.sh
upload:
name: Upload Workflow Event Payload
runs-on: ubuntu-22.04
steps:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: event-payload
path: ${{ github.event_path }}