mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-02 13:13:06 +00:00
29 lines
677 B
YAML
29 lines
677 B
YAML
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
|