1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Add test workflow

This commit is contained in:
Ralph Slooten
2022-07-30 08:43:49 +12:00
parent 2e5752f693
commit 4e4fc22cb5

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

@@ -0,0 +1,20 @@
name: Test
on:
pull_request:
branches: [ develop ]
push:
branches: [ develop ]
jobs:
test:
strategy:
matrix:
go-version: [1.18.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: go test ./storage -v
- run: go test ./storage -bench=.