Skip to content

Github: run tests on push/pull/trigger #1

Github: run tests on push/pull/trigger

Github: run tests on push/pull/trigger #1

Workflow file for this run

name: Run tests

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

`pull` is not a valid event name
on:
push:
pull:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.19'
- name: Build
run: go build -v
- name: Test
run: go test -v ./...
- name: Integration test
run: |
cd loadtest
make prepare
make run-webserver &
make run-sshified &
sleep 10
make run-loadtest