File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,22 @@ concurrency:
2828 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
2929
3030jobs :
31+ # https://graphite.com/docs/stacking-and-ci
32+ optimize_ci :
33+ runs-on : namespace-profile-small-ubuntu-24-04-amd64
34+ outputs :
35+ skip : ${{ steps.check_skip.outputs.skip }}
36+ steps :
37+ - name : Optimize CI
38+ id : check_skip
39+ uses : withgraphite/graphite-ci-action@main
40+ with :
41+ graphite_token : ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
42+
3143 integration-test :
3244 runs-on : namespace-profile-medium-ubuntu-24-04-amd64
45+ needs : optimize_ci
46+ if : needs.optimize_ci.outputs.skip == 'false'
3347 steps :
3448 - uses : actions/checkout@v4
3549 - uses : ./.github/actions/bootstrap
4458
4559 random-table-test :
4660 runs-on : namespace-profile-medium-ubuntu-24-04-amd64
61+ needs : optimize_ci
62+ if : needs.optimize_ci.outputs.skip == 'false'
4763 steps :
4864 - uses : actions/checkout@v4
4965 # run this job only if the path 'crates/apollo_storage/src/db/**' is changed, because it takes around 2 minutes.
You can’t perform that action at this time.
0 commit comments