Skip to content

[chore] Configure Github workflow to run tests and linters on PRs and merges into main #3

[chore] Configure Github workflow to run tests and linters on PRs and merges into main

[chore] Configure Github workflow to run tests and linters on PRs and merges into main #3

Workflow file for this run

name: Main Workflow
on:
pull_request: {}
push:
branches:
- main
jobs:
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Run unit tests
run: make test-unit
acceptance_tests:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Run acceptance tests
run: make test-acc-replay