From 92b06dccd024785397570d8ee86e7b80f98c8a56 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Thu, 7 Sep 2023 14:03:46 +0200 Subject: [PATCH] add test.yml --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0b59580 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-latest ] + go-version: [ '1.21' ] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go-version }} + - name: Test + run: | + sudo apt-get install awscli + go test -v -race -timeout=30m \ No newline at end of file