Skip to content

Commit 56e2108

Browse files
committed
Fix pypy build in github action
1 parent 50c09a4 commit 56e2108

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
tox-env: py311
2222
- python-version: "3.12"
2323
tox-env: py312
24-
- python-version: "pypy3"
25-
tox-env: pypy3
24+
- python-version: "pypy3.10"
25+
tox-env: pypy310
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
allow-prereleases: true
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Coveralls Finished
60-
uses: coverallsapp/github-action@master
60+
uses: coverallsapp/github-action@1.1.3
6161
with:
6262
github-token: ${{ secrets.github_token }}
6363
path-to-lcov: lcov.info

docs/contributing.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,22 @@ In order to run successfully, you will need all versions of Python installed. We
4242

4343
$ pyenv install 3.8.18
4444
$ pyenv install pypy3.10-7.3.13
45+
$ pyenv global pypy3.10-7.3.13 # switch to pypy
4546

4647

48+
Build and test via pipeline
49+
===========================
50+
51+
If you don't want to install multiple python versions, or if you have
52+
made changes in the pipeline code, it is possible to execute the Github Action
53+
locally with the `act` tools available here: https://nektosact.com/usage/index.html
54+
55+
Run tests for `pypy3.9`:
56+
57+
```shell
58+
act -W .github/workflows/run-tests.yml -j tests --matrix python-version:pypy3.9
59+
```
60+
4761
Publishing a release (for maintainer role)
4862
==========================================
4963

requirements-test-27.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{38,39,310,311,312,py3},docs,readme,ruff
2+
envlist=py{38,39,310,311,312,py310},docs,readme,ruff
33

44
[testenv]
55
description=run test on {basepython}

0 commit comments

Comments
 (0)