Skip to content

Commit e1d2de8

Browse files
authored
Turning off the benches on github
1 parent c349934 commit e1d2de8

1 file changed

Lines changed: 19 additions & 18 deletions

File tree

.github/workflows/publish_doc_benches_to_ghpages.yaml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,22 @@ jobs:
3737
with:
3838
name: code_quality_stats
3939
path: ./code_stats.txt
40-
run_benches:
41-
runs-on: ubuntu-latest
42-
if: github.ref == 'refs/heads/main'
43-
steps:
44-
- name: Checkout code
45-
uses: actions/checkout@v4
46-
- run: cargo bench --all
47-
- name: Save artifacts
48-
uses: actions/upload-artifact@v4
49-
with:
50-
name: bc-rust-benches
51-
path: ./target/criterion
40+
# the benches run crazy slow on the github agent. So there's really no point because it's not useful data.
41+
# run_benches:
42+
# runs-on: ubuntu-latest
43+
# if: github.ref == 'refs/heads/main'
44+
# steps:
45+
# - name: Checkout code
46+
# uses: actions/checkout@v4
47+
# - run: cargo bench --all
48+
# - name: Save artifacts
49+
# uses: actions/upload-artifact@v4
50+
# with:
51+
# name: bc-rust-benches
52+
# path: ./target/criterion
5253
collect_ghpages:
5354
if: github.ref == 'refs/heads/main'
54-
needs: [build_docs, code_stats, run_benches]
55+
needs: [build_docs, code_stats]
5556
runs-on: ubuntu-latest
5657
steps:
5758
- run: mkdir ./gh-pages
@@ -65,11 +66,11 @@ jobs:
6566
with:
6667
name: code_quality_stats
6768
path: ./gh-pages/
68-
- name: Get benches from previous job
69-
uses: actions/download-artifact@v4
70-
with:
71-
name: bc-rust-benches
72-
path: ./gh-pages/benches
69+
# - name: Get benches from previous job
70+
# uses: actions/download-artifact@v4
71+
# with:
72+
# name: bc-rust-benches
73+
# path: ./gh-pages/benches
7374
- name: Archive Compatibility Matrix For Download
7475
uses: actions/upload-pages-artifact@v3
7576
with:

0 commit comments

Comments
 (0)