Skip to content

Commit

Permalink
Move mocks up to date as a prerequisite step to unit_test job
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Dec 30, 2024
1 parent 56bf62c commit 32b875c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
run: echo "TIMEOUT=1200s" >> "$GITHUB_ENV"
- run: go mod download
shell: bash
- name: Mocks are up to date
run: |
./scripts/mock.gen.sh
git diff --exit-code
- run: ./scripts/build.sh
shell: bash
- run: ./scripts/build_test.sh
Expand Down Expand Up @@ -179,18 +183,6 @@ jobs:
if: always()
with:
name: load-tmpnet-data
mock_gen:
name: MockGen Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.min_go_version }}
- shell: bash
run: scripts/mock.gen.sh
- shell: bash
run: .github/workflows/check-clean-branch.sh
test_build_image:
name: Image build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 32b875c

Please sign in to comment.