Create test.yml

This commit is contained in:
Marvin
2025-06-10 13:07:08 +02:00
committed by GitHub
parent acab633da6
commit 4ce2a656b8

34
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Run Tests
on:
pull_request:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build
- name: Test
run: go test
- name: Build Docker container
run: make build
- name: Run Docker container
run: make test
- name: Build native
run: make go-build.release