diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index febc4422e..1e832d264 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,7 +6,7 @@ on: pull_request: jobs: - generate: + generate-and-test: runs-on: ubuntu-latest steps: - name: Checkout Repo @@ -24,6 +24,9 @@ jobs: - name: verify output run: | git diff --exit-code || (echo 'generated diff, please run "make generate"' && exit 1) + - name: Run unit tests + run: | + make test docker-build: runs-on: ubuntu-latest steps: @@ -43,12 +46,3 @@ jobs: - name: Check diff run: | git diff --exit-code || (echo 'offsets diff detected, run "make offsets"' && exit 1) - unit-tests: - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Run unit tests - run: | - make test -