From 6a54f4678c99f9df84042f2b8403593ffd20a98b Mon Sep 17 00:00:00 2001 From: Jono Templeton Date: Mon, 2 Dec 2024 15:36:18 +1300 Subject: [PATCH] AUT-2465: adding integration tests --- .github/workflows/run-tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..c0bdd72 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,25 @@ +name: Run Tests + +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.21" + + - name: Install dependencies + run: go mod download + + - name: Run tests + env: + AUTHSIGNAL_API_SECRET: ${{ secrets.AUTHSIGNAL_API_SECRET }} + AUTHSIGNAL_API_URL: ${{ secrets.AUTHSIGNAL_API_URL }} + run: go test -v ./...