diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml new file mode 100644 index 0000000..04b97a0 --- /dev/null +++ b/.github/workflows/pull-request.yaml @@ -0,0 +1,27 @@ +name: Pull request + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" + + - name: Set up test environment + run: make set-up-docker + + - name: Run tests + run: make testacc + + - name: Tear down test environment + run: make tear-down-docker