(ci): add unit-tests job #6
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: E2E | |
on: | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: Run the build with upterm debugging enabled | |
(https://github.com/lhotari/action-upterm/) | |
required: false | |
default: false | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: e2e-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run unit-tests | |
run: make test | |
e2e-test-empty: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Echo hello | |
run: | | |
echo "hello" | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
- name: Build | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
- name: Build with Makefile | |
run: make build |