Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

EXPAND: Related SSZ Repositories with full descriptions #522

EXPAND: Related SSZ Repositories with full descriptions

EXPAND: Related SSZ Repositories with full descriptions #522

Workflow file for this run

name: Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov pytest-timeout
- name: Run data validation tests
run: |
pytest scripts/tests/test_data_validation.py -v --tb=short
- name: Run physics tests (quick)
run: |
pytest scripts/tests/test_ssz_kernel.py -v --tb=short
pytest scripts/tests/test_ssz_invariants.py -v --tb=short
- name: Generate coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
run: |
pytest scripts/tests/ --cov=. --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false