Skip to content

Commit

Permalink
Merge pull request #3037 from o1-labs/dw/reverting-commits-pushed-on-…
Browse files Browse the repository at this point in the history
…master

Revert commits
  • Loading branch information
dannywillems authored Feb 14, 2025
2 parents 85ce46e + 2eef37f commit 3bf240c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#
# This workflow is triggered by scheduler or on-demand to run all the tests with
# the code coverage enabled and using the self-hosted GitHub runner.
# Test coverage report is attached to the current job execution results in a
# form of Zip archive.
# This workflow is triggered by scheduler or on-demand to run all the tests with the code coverage enabled and using the self-hosted GitHub runner.
# Test coverage report is attached to the current job execution results in a form of Zip archive.
#

name: Nightly tests with the code coverage
Expand Down
27 changes: 26 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ jobs:
run_checks:
name: Run checks and tests
runs-on: 'ubuntu-latest'
# We run only one of the matrix options on the toffee `hetzner-1` self-hosted GitHub runner.
# Only in this configuration we enable tests with the code coverage data gathering.
# runs-on: [hetzner-proof-systems-runners-group-1]
runs-on: ${{ matrix.rust_toolchain_version == '1.74' && 'hetzner-1' || 'ubuntu-latest' }}
env:
RUST_TOOLCHAIN_COVERAGE_VERSION: "1.74"
strategy:
matrix:
rust_toolchain_version: ["1.72", "1.73", "1.74", "1.75", "1.76", "1.77", "1.78", "1.79"]
Expand Down Expand Up @@ -157,11 +162,31 @@ jobs:
uses: ./.github/actions/build-mips

- name: Doc tests
if: ${{ matrix.rust_toolchain_version != env.RUST_TOOLCHAIN_COVERAGE_VERSION }}
run: |
eval $(opam env)
make test-doc
- name: Run non-heavy tests without the code coverage
if: ${{ matrix.rust_toolchain_version != env.RUST_TOOLCHAIN_COVERAGE_VERSION }}
run: |
eval $(opam env)
make nextest
- name: Run non-heavy tests with the code coverage
if: ${{ matrix.rust_toolchain_version == env.RUST_TOOLCHAIN_COVERAGE_VERSION }}
run: |
eval $(opam env)
make nextest-with-coverage
make test-doc-with-coverage
make generate-test-coverage-report
- name: Use shared code coverage summary
if: ${{ matrix.rust_toolchain_version == env.RUST_TOOLCHAIN_COVERAGE_VERSION }}
uses: ./.github/actions/coverage-summary-shared

- name: Use shared Codecov reporting steps
if: ${{ matrix.rust_toolchain_version == env.RUST_TOOLCHAIN_COVERAGE_VERSION }}
uses: ./.github/actions/codecov-shared
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3bf240c

Please sign in to comment.