mirror of
https://github.com/logos-co/nomos-specs.git
synced 2025-01-09 23:26:01 +00:00
0f6bcf11b1
* Added eth specs submodule * Rename to eth-specs instead * Added install script for ethspecs module * Use python and pip instead of 3 * Load eth-specs in ci * Add checkout submodules to ci * Make install script executable * Added missing install command in script * Added missing submodule * Move to eth-specs for building
29 lines
634 B
YAML
29 lines
634 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.x
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
# Semantic version range syntax or exact version of a Python version
|
|
python-version: '3.x'
|
|
- 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
|