name: Spec tests on: pull_request: branches: - "*" push: branches: [master] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: submodules: true - name: Set up Python 3.12 uses: actions/setup-python@v5 with: # TODO: Revert this to '3.x' once we have an updated version of `poseidon-hash` that works for Python >=3.13. python-version: '3.12' - name: Install dependencies run: pip install -r requirements.txt - name: Build and install eth-specs run: ./install-eth-specs.sh - name: Run tests run: python -m unittest