sqs-browse: started working on tests

This commit is contained in:
Leon Mika 2022-03-23 22:02:46 +11:00
parent 7526c095ee
commit cff059e160
11 changed files with 516 additions and 16 deletions

37
.github/workflows/ci.yaml vendored Normal file
View file

@ -0,0 +1,37 @@
name: ci
on:
push:
branches:
- main
- feature/*
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: amazon/dynamodb-local:latest
ports:
- 8000:8000
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Configure
run: |
git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
- name: Test
run: |
set -xue
go get .
go test ./...
env:
GOPRIVATE: "github:com/lmika/*"