Skip to content

Commit

Permalink
update workflows with metrics in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzooghost committed Jan 21, 2025
1 parent 9ea17c4 commit 3410289
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/all-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
build-and-publish:
needs: [ changes, store_image_name_and_tags, all-tools-tag-only ]
if: ${{ always() && (needs.changes.outputs['all-tools'] == 'true' || needs.all-tools-tag-only.result != 'success' || needs.all-tools-tag-only.outputs.image_tagged != 'true') }}
# ~0.5 mins saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
env:
COMMIT_TAG: ${{ needs.store_image_name_and_tags.outputs.commit_tag }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/bridge-ui-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
branches:
- main
paths:
- '.github/workflows/bridge-ui-publish.yml'
- 'bridge-ui/**'
- '!bridge-ui/**/*.md'
push:
branches:
- main
paths:
- '.github/workflows/bridge-ui-publish.yml'
- 'bridge-ui/**'
- '!bridge-ui/**/*.md'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/postman-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ concurrency:

jobs:
build-and-publish:
# ~1 min saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
name: Postman build
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prover-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ env:

jobs:
build-and-publish:
# ~1 min saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
name: Prover build
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/prover-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ concurrency:

jobs:
staticcheck:
# ~1.5 mins saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
name: Prover static check
steps:
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:
strategy:
matrix:
go-version: [1.23.x]
# ~1 min saved vs large
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xl
name: Prover testing
needs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reuse-run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ jobs:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
outputs:
tests_outcome: ${{ steps.run_e2e_tests.outcome }}
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xl
# xl saves ~0 mins
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
steps:
- name: Setup upterm session
if: ${{ inputs.e2e-tests-with-ssh }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-smc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Smart contracts test
on:
pull_request:
paths:
- '.github/workflows/run-smc-tests.yml'
- 'contracts/**'
- 'testdata/**'
- 'prover/**'
Expand All @@ -15,6 +16,7 @@ on:
branches:
- main
paths:
- '.github/workflows/run-smc-tests.yml'
- 'contracts/**'
- 'testdata/**'
- 'prover/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/staterecovery-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# ~2.5 mins saved vs large
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xl
name: Staterecovery tests
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/traces-api-facade-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ concurrency:

jobs:
run-tests:
# ~2 mins saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
name: Traces api facade tests
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/transaction-exclusion-api-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:

jobs:
run-tests:
# ~1.5 mins saved vs small
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
name: Transaction exclusion api tests
steps:
Expand Down

0 comments on commit 3410289

Please sign in to comment.