Skip to content

Enable tests

Enable tests #38

name: Test Pull Request
on:
pull_request:
branches:
- main
concurrency:
# only one instance of test suite per PR at one time
group: pr-${{ github.event.number }}
cancel-in-progress: true
jobs:
unit:
name: Unit Tests
runs-on: ubuntu-22.04
outputs:
builders: ${{ steps.builders.outputs.builders }}
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Checkout
uses: actions/checkout@v3
- 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@v3
with:
name: event-payload
path: ${{ github.event_path }}