feat(test): update EIP-8024 refspec and align on latest changes to EIP #4622
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: Python Specification | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - mainnet | |
| - "forks/**" | |
| paths-ignore: | |
| - "**.md" | |
| - "LICENSE*" | |
| - ".gitignore" | |
| - ".vscode/**" | |
| - "whitelist.txt" | |
| - "docs/**" | |
| - "mkdocs.yml" | |
| workflow_dispatch: | |
| pull_request: | |
| paths-ignore: | |
| - "**.md" | |
| - "LICENSE*" | |
| - ".gitignore" | |
| - ".vscode/**" | |
| - "whitelist.txt" | |
| - "docs/**" | |
| - "mkdocs.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| static: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| - name: Ensure SHA pinned actions | |
| uses: zgosalvez/github-actions-ensure-sha-pinned-actions@6124774845927d14c601359ab8138699fa5b70c3 # v4.0.1 | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "3.11" | |
| - name: Install Tox and any other packages | |
| shell: bash | |
| run: | | |
| sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes --force-yes build-essential pkg-config | |
| pip install 'tox>=4.11,<5' requests | |
| - name: Run static checks | |
| run: tox -e static | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1 | |
| - name: Validate workflow config variables | |
| run: | | |
| cat >> .github/actionlint.yaml << 'EOF' | |
| # CI-only: validate vars.* references | |
| config-variables: | |
| - DEFAULT_PYTHON_VERSION | |
| - UV_VERSION | |
| EOF | |
| uvx --from actionlint-py actionlint | |
| py3: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "3.11" | |
| - uses: ./.github/actions/setup-env | |
| - name: Run py3 tests | |
| run: tox -e py3 | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 | |
| with: | |
| files: .tox/coverage.xml | |
| flags: unittests | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| pypy3: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "pypy3.11" | |
| - uses: ./.github/actions/setup-env | |
| - name: Run pypy3 tests | |
| run: tox -e pypy3 | |
| env: | |
| PYPY_GC_MAX: "2G" | |
| PYPY_GC_MIN: "1G" | |
| json_infra: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 # Fetch full history for commit comparison | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "3.11" | |
| - uses: ./.github/actions/setup-env | |
| - uses: ./.github/actions/get-changed-files | |
| id: get-changed-files | |
| - name: Run json infra tests | |
| run: tox -e json_infra -- --file-list="${{ steps.get-changed-files.outputs.file_list }}" | |
| optimized: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 # Fetch full history for commit comparison | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "3.11" | |
| - uses: ./.github/actions/setup-env | |
| - uses: ./.github/actions/get-changed-files | |
| id: get-changed-files | |
| - name: Run optimized tests | |
| run: tox -e optimized -- --file-list="${{ steps.get-changed-files.outputs.file_list }}" | |
| tests_pytest_py3: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "3.11" | |
| - uses: ./.github/actions/setup-env | |
| - uses: ./.github/actions/build-evmone | |
| - name: Run py3 tests | |
| run: tox -e tests_pytest_py3 | |
| tests_pytest_pypy3: | |
| runs-on: [self-hosted-ghr, size-xl-x64] | |
| needs: static | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | |
| with: | |
| python-version: "pypy3.11" | |
| - uses: ./.github/actions/setup-env | |
| - uses: ./.github/actions/build-evmone | |
| - name: Run pypy3 tests | |
| run: tox -e tests_pytest_pypy3 | |
| env: | |
| PYPY_GC_MAX: "2G" | |
| PYPY_GC_MIN: "1G" |