Skip to content

(ci): pre-configuration of e2e testing #27

(ci): pre-configuration of e2e testing

(ci): pre-configuration of e2e testing #27

Workflow file for this run

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
name: Unit Test
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Run Unit Tests
run: go test ./...
e2e-test-empty:
runs-on: ubuntu-latest
name: E2E Empty Test
steps:
- name: Echo hello
run: |
echo "hello"
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Make Help
run: |
make help
make install
make build