From 84c5e406f77359e8bac6ae8dd5e59b88753122d1 Mon Sep 17 00:00:00 2001 From: Alisher Muzaffarov <49343639+aliml92@users.noreply.github.com> Date: Wed, 19 Jun 2024 15:37:41 +0500 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..880d0f8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + test: + name: Test + runs-on: ubuntu-latest + steps: + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.21.0 + + - name: Check out code + uses: actions/checkout@v3 + + - name: Run unit tests + run: make test + + - name: Run integration tests + run: make integration-test