Skip to content

Commit

Permalink
separate action to different steps
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt committed Nov 25, 2024
1 parent f1d425f commit 622a9df
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/ci-core-partial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,39 @@ jobs:
test-suite: ${{ matrix.type.cmd }}
db-url: ${{ env.DB_URL }}

- name: Build Tests
uses: smartcontractkit/.github/apps/go-test-caching@feat/go-test-binary-comparison
with:
pipeline-step: "build"
test-suite: ${{ matrix.type.test-suite }}
module-directory: ${{ matrix.type.module-directory }}
tag-filter: ${{ matrix.type.tag-filter }}
build-concurrency: "32"
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Tests
uses: smartcontractkit/.github/apps/go-test-caching@feat/go-test-binary-comparison
env:
CL_DATABASE_URL: ${{ env.DB_URL }}
with:
pipeline-step: "run"
test-suite: ${{ matrix.type.test-suite }}
module-directory: ${{ matrix.type.module-directory }}
tag-filter: ${{ matrix.type.tag-filter }}
github-token: ${{ secrets.GITHUB_TOKEN }}
run-all-tests: "true"
run-concurrency: "32"

- name: Update Test Index
uses: smartcontractkit/.github/apps/go-test-caching@feat/go-test-binary-comparison
with:
pipeline-step: "update"
test-suite: ${{ matrix.type.test-suite }}
module-directory: ${{ matrix.type.module-directory }}
tag-filter: ${{ matrix.type.tag-filter }}
update-index: "true"
force-update-index: "true"
build-concurrency: "32"
run-concurrency: "32"
github-token: ${{ secrets.GITHUB_TOKEN }}


- name: Print postgres logs
if: ${{ always() }}
Expand Down

0 comments on commit 622a9df

Please sign in to comment.