From 3196f3270fc220bcbcd098ce419ce67cd15e3139 Mon Sep 17 00:00:00 2001 From: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Date: Thu, 26 Sep 2024 09:35:36 -0500 Subject: [PATCH] Add testgen badge to readme (#3933) --- .github/workflows/generate_vectors.yml | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate_vectors.yml b/.github/workflows/generate_vectors.yml index 0d8aeb0eed..1f14ff9158 100644 --- a/.github/workflows/generate_vectors.yml +++ b/.github/workflows/generate_vectors.yml @@ -52,6 +52,16 @@ jobs: cp -r presets/ ../consensus-spec-tests/presets cp -r configs/ ../consensus-spec-tests/configs find . -type d -empty -delete + - name: Check for errors + run: | + if grep -q "\[ERROR\]" consensustestgen.log; then + echo "There is an error in the log" + exit 1 + fi + if find . -type f -name "INCOMPLETE" | grep -q "INCOMPLETE"; then + echo "There is an INCOMPLETE file" + exit 1 + fi - name: Archive configurations run: | cd consensus-spec-tests diff --git a/README.md b/README.md index 7ddc52bf5e..fa41dc6298 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This repository hosts the current Ethereum proof-of-stake specifications. Discus ## Specs -[![GitHub release](https://img.shields.io/github/v/release/ethereum/consensus-specs)](https://github.com/ethereum/consensus-specs/releases/) [![PyPI version](https://badge.fury.io/py/eth2spec.svg)](https://badge.fury.io/py/eth2spec) +[![GitHub release](https://img.shields.io/github/v/release/ethereum/consensus-specs)](https://github.com/ethereum/consensus-specs/releases/) [![PyPI version](https://badge.fury.io/py/eth2spec.svg)](https://badge.fury.io/py/eth2spec) [![testgen](https://github.com/ethereum/consensus-specs/actions/workflows/generate_vectors.yml/badge.svg?branch=dev&event=schedule)](https://github.com/ethereum/consensus-specs/actions/workflows/generate_vectors.yml) Core specifications for Ethereum proof-of-stake clients can be found in [specs](specs/). These are divided into features. Features are researched and developed in parallel, and then consolidated into sequential upgrades when ready.