update pending regex's #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tox | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
name: Lint python sources with ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
- name: Run ruff linter via tox | |
run: uvx --with=tox-uv tox -e lint | |
typecheck: | |
name: Typecheck python sources with mypy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
- name: Run mypy typechecker via tox | |
run: uvx --with=tox-uv tox -e typecheck | |
spellcheck: | |
name: Spellcheck sources with codespell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
- name: Run spellcheck with codespell via tox | |
run: uvx --with=tox-uv tox -e spellcheck | |
env: | |
GITHUB_STEP_SUMMARY: ${{ env.GITHUB_STEP_SUMMARY }} | |
changelog: | |
name: Validate changelog entries | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
- name: Run changelog validation via tox | |
run: uvx --with=tox-uv tox -e changelog | |
markdownlint: | |
name: Lint markdown files with markdownlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 | |
with: | |
globs: | | |
README.md | |
docs/**/*.md | |
mkdocs: | |
name: Build html documentation with mkdocs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
- name: Build html documentation with mkdocs via tox | |
run: uvx --with=tox-uv tox -e mkdocs | |
pytest_framework: | |
name: Run unit tests, ${{ matrix.os }}, ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
python: "3.10" | |
- os: macos-latest | |
python: "3.11" | |
- os: ubuntu-latest | |
python: "3.12" | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Checkout ethereum/execution-specs for local EELS implementation | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
repository: ethereum/execution-specs | |
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e | |
path: execution-specs | |
fetch-depth: 1 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ matrix.python }} | |
- name: Build EVMONE EVM | |
uses: ./.github/actions/build-evm-client/evmone | |
with: | |
targets: "evmone-t8n" | |
- name: Build GETH EVM | |
uses: ./.github/actions/build-evm-client/geth | |
- name: Update eels_resolutions.json | |
run: | | |
sed -i -e "s|\$GITHUB_WORKSPACE|${GITHUB_WORKSPACE}|g" .github/configs/eels_resolutions.json | |
- name: Run tox - run framework unit tests with pytest | |
env: | |
EELS_RESOLUTIONS_FILE: ${{ github.workspace }}/.github/configs/eels_resolutions.json | |
run: uvx --with=tox-uv tox -e pytest | |
tests_deployed: | |
name: Fill tests, deployed, ${{ matrix.os }}, ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
# Still getting requests.exceptions.ReadTimeout: UnixHTTPConnectionPool() in CI, even with local EELS | |
# - os: ubuntu-latest | |
# python: "3.10" | |
- os: ubuntu-latest | |
python: "3.11" | |
- os: macos-latest | |
python: "3.12" | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Checkout ethereum/execution-specs for local EELS implementation | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
repository: ethereum/execution-specs | |
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e | |
path: execution-specs | |
fetch-depth: 1 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ matrix.python }} | |
- name: Update eels_resolutions.json | |
run: | | |
sed -i -e "s|\$GITHUB_WORKSPACE|${GITHUB_WORKSPACE}|g" .github/configs/eels_resolutions.json | |
- name: Run tox - fill tests for deployed forks | |
env: | |
EELS_RESOLUTIONS_FILE: ${{ github.workspace }}/.github/configs/eels_resolutions.json | |
run: uvx --with=tox-uv tox -e tests-deployed | |
tests_deployed_zkevm: | |
name: Fill zkEVM test cases, deployed, ${{ matrix.os }}, ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
# Still getting requests.exceptions.ReadTimeout: UnixHTTPConnectionPool() in CI, even with local EELS | |
# - os: ubuntu-latest | |
# python: "3.10" | |
- os: ubuntu-latest | |
python: "3.11" | |
- os: macos-latest | |
python: "3.12" | |
steps: | |
- name: Checkout ethereum/execution-spec-tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }} | |
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
version: ${{ vars.UV_VERSION }} | |
python-version: ${{ matrix.python }} | |
- name: Build EVMONE EVM | |
uses: ./.github/actions/build-evm-client/evmone | |
with: | |
targets: "evmone-t8n" | |
- name: Run tox - fill tests for deployed forks | |
env: | |
EELS_RESOLUTIONS_FILE: ${{ github.workspace }}/.github/configs/eels_resolutions.json | |
run: uvx --with=tox-uv tox -e tests-deployed-zkevm |