Enable tests #38
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: 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 }} |