Skip to content

Commit aa68adb

Browse files
ci: Add github action to run tests
1 parent 46a7433 commit aa68adb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: test
3+
on: [push, pull_request]
4+
jobs:
5+
all:
6+
runs-on: ubuntu-24.04
7+
steps:
8+
- name: Checkout repo
9+
uses: actions/checkout@v5
10+
- name: Install beanstalkd
11+
run: sudo apt-get update && sudo apt-get install -y beanstalkd && sudo systemctl status beanstalkd
12+
- name: Setup go
13+
uses: actions/setup-go@v6
14+
- name: Compile binaries
15+
run: make build
16+
- name: Run tests
17+
run: make test

0 commit comments

Comments
 (0)