Skip to content

Commit

Permalink
👷 Set up CI for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
flovouin committed Mar 30, 2024
1 parent 30d33b3 commit ba06f2a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ba06f2a

Please sign in to comment.