mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-04 22:23:07 +00:00
31 lines
752 B
YAML
31 lines
752 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
|
|
- name: Run a short mixnet simulation
|
|
run: python -m mixnet.sim.main --config mixnet/sim/config.ci.yaml
|