Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci (feature): use run-parallel and shared wheel packages for tox #408

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
python: '3.10'
solc: '0.8.20'
evm-type: 'main'
tox-cmd: 'tox'
tox-cmd: 'tox run-parallel --parallel-no-spinner'
- os: ubuntu-latest
python: '3.12'
solc: '0.8.23'
evm-type: 'main'
tox-cmd: 'tox'
tox-cmd: 'tox run-parallel --parallel-no-spinner'
- os: ubuntu-latest
python: '3.11'
solc: '0.8.21'
Expand All @@ -27,7 +27,7 @@ jobs:
python: '3.11'
solc: '0.8.22'
evm-type: 'main'
tox-cmd: 'tox'
tox-cmd: 'tox run-parallel --parallel-no-spinner'
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
hooks:
- id: tox
name: tox
entry: tox
entry: tox run-parallel
language: system
types: [python]
pass_filenames: false
Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Test fixtures for use by clients are available for each release on the [Github r

### 📋 Misc

- ✨ Use `run-parallel` and shared wheel packages for `tox` ([#408](https://github.com/ethereum/execution-spec-tests/pull/408)).

### 💥 Breaking Changes

## [v2.0.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v2.0.0) - 2024-01-25: 🐍🏖️ Cancun
Expand Down
6 changes: 6 additions & 0 deletions docs/writing_tests/verifying_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ pip install tox

Run tox, as executed in Github Actions, with:

```console
tox run-parallel
```

or, with sequential test environment execution and verbose output as:

```console
tox
```
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env_list =
[main]
development_fork = Cancun

[testenv]
package = wheel
wheel_build_env = .pkg

[testenv:framework]
description = Run checks on helper libraries and test framework

Expand Down
Loading