From a81f2de7a8c8b8659803a1e0b5bcf996d9c043a4 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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..a3d205d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Test +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: '1.21' + - name: Install AWS CLI + uses: unfor19/install-aws-cli-action@master + - name: Test + uses: n8maninger/action-golang-test@v1 + env: + AWS_EC2_METADATA_DISABLED: true + with: + package: "./..." + args: "-race;-tags='testing';-timeout=30m"