Skip to content

Commit

Permalink
tack tests onto end of generate instead?
Browse files Browse the repository at this point in the history
  • Loading branch information
robbkidd committed Apr 24, 2023
1 parent 1484582 commit ef1bf42
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

jobs:
generate:
generate-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand All @@ -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:
Expand All @@ -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

0 comments on commit ef1bf42

Please sign in to comment.