Skip to content

eip7732: add attestation processing tests #6066

eip7732: add attestation processing tests

eip7732: add attestation processing tests #6066

Workflow file for this run

name: Run tests
defaults:
run:
shell: zsh -e {0}
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: [self-hosted-ghr-custom, size-s-x64, profile-consensusSpecs]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.13'
cache: 'pip'
- name: Run linter for pyspec
run: |
make lint
git diff --exit-code
whitespace:
runs-on: [self-hosted-ghr-custom, size-s-x64, profile-consensusSpecs]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Check for trailing whitespace
run: |
if git grep -n '[[:blank:]]$'; then
echo "Trailing whitespace found. Please fix it."
exit 1
fi
comments:
runs-on: [self-hosted-ghr-custom, size-s-x64, profile-consensusSpecs]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.13'
cache: 'pip'
- name: Check fork comments
run: python3 scripts/check_fork_comments.py
tests:
needs: [lint, whitespace, comments]
runs-on: [self-hosted-ghr-custom, size-xl-x64, profile-consensusSpecs]
strategy:
matrix:
fork:
- phase0
- altair
- bellatrix
- capella
- deneb
- electra
- fulu
- gloas
- eip7805
- eip7928
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.13'
cache: 'pip'
- name: Run pyspec tests for ${{ matrix.fork }}
run: make test preset=minimal fork=${{ matrix.fork }}