diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 00000000..b3bf9043 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,19 @@ +name: Limitador-Operator + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + - name: Run the tests + run: make test diff --git a/Makefile b/Makefile index cdf9c88d..c3947002 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +# The "source" command used in the "test" target does not work with /bin/sh. +SHELL := /bin/bash + # Current Operator version VERSION ?= 0.0.1 # Default bundle image tag