chore: add GitHub Actions "Test" workflow

Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
This commit is contained in:
pancho horrillo
2020-06-12 09:40:16 +02:00
parent a311da0d87
commit 2b56e0ea27
+21
View File
@@ -0,0 +1,21 @@
name: Test
on:
push:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Lint
uses: golangci/golangci-lint-action@v1
with:
version: v1.27
- name: Build
run: |
make test race build
- name: Spec test
run: |
docker run --mount type=bind,source=$(pwd)/build/kapow,target=/usr/local/bin/kapow bbvalabsci/kapow-spec-test-suite:latest behave --tags=~@skip