diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2f78d350..485b1990 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,13 +9,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.x" + - name: Install mercurial + # hg is no longer preinstalled on the ubuntu-latest runner image + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends mercurial + hg --version + - name: Install dependencies run: pip install -e . diff --git a/codespeed/tests/test_commits.py b/codespeed/tests/test_commits.py index 12af1c57..0be51339 100644 --- a/codespeed/tests/test_commits.py +++ b/codespeed/tests/test_commits.py @@ -12,6 +12,10 @@ hgdir = '' +# hg aborts on commit when ui.username is unset, which is the case on a CI +# runner with no ~/.hgrc, so supply one explicitly. +HG_USER = ['-u', 'Codespeed Tests '] + def setUpModule(): global hgdir hgdir = tempfile.TemporaryDirectory() @@ -22,11 +26,13 @@ def setUpModule(): with open(readme, 'w') as hg_file: hg_file.write('readme') subprocess.check_call(['hg', 'add', readme], cwd=hgdir.name) - subprocess.check_call(['hg', 'commit', '-m', "first commit"], cwd=hgdir.name) + subprocess.check_call(['hg', 'commit', '-m', "first commit"] + HG_USER, + cwd=hgdir.name) with open(file1, 'w') as hg_file: hg_file.write('value = 10') subprocess.check_call(['hg', 'add', file1], cwd=hgdir.name) - subprocess.check_call(['hg', 'commit', '-m', "second commit"], cwd=hgdir.name) + subprocess.check_call(['hg', 'commit', '-m', "second commit"] + HG_USER, + cwd=hgdir.name) def tearDownModule(): hgdir.cleanup() diff --git a/speed_pypy/templates/about.html b/speed_pypy/templates/about.html index d932553a..e79f4580 100644 --- a/speed_pypy/templates/about.html +++ b/speed_pypy/templates/about.html @@ -6,20 +6,19 @@

About this site

We have nightly benchmark runs of PyPy, together with CPython data for -comparison. The benchmarks have run since 2016 on a dedicated machine +comparison. The benchmarks ran from 2016-2026 on a dedicated machine named benchmarker. Previously, we had other machines (tannit and -briefly speed-python). The benchmarker machine is generously -donated by Baroque Software. The -specs are:

- -

Benchmarks are also run on benchmarker2:

-