mirror of
https://github.com/sigp/gossipsub-testground.git
synced 2026-01-09 05:28:04 -05:00
* Initial implementation for scoring-parameters test plan * Record the number of BeaconBlock messages received per epoch * Add attacker module * Dialing from attackers to a beacon node * Add debug log * Add TopicScoreParameter for BeaconBlock * Rename crate and collect attacker info * Add dashboards * Add metrics * Add topic_msg_sent_counts to dashboard * Attestations * rename * topic_msg_sent_counts * Make params configurable * dashboards * Aggregates per epoch * Attestations per epoch * run time * Remove empty descriptions * cargo update * Record the result of sync_committee_aggregates and sync_committee_messages * Update Messages dashboard * Topic params for SignedContributionAndProof and SyncCommitteeMessage * Make get_param() generic * Use get_param() * Dashboard: automate run_id * Dashboard: Add `Settings` * Set gossipsub config based on lighthouse * Record peer scores on its own task * Record metrics on its own task * Fix invalid gossipsub config * Remove unnecessary comment lines * Some cleanup * Merge main into scoring-parameters * Add scoring test plan to CI workflow * Update dashboard * Fix: discarding correct message * Add `Cache Misses` to the dashboard * Avoid unnecessary compiling * Add Cargo.lock * Introduce NetworkConfiguration * Fix clippy warnings * Upgrade npg * Add README * Fix clippy warnings * Improve qualifications * Remove debug lines
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: test suite
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
cargo-fmt:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
simulations: ["eth_consensus", "censoring", "smoke", "scoring"]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Get latest version of stable rust
|
|
run: rustup update stable
|
|
- name: Check formatting with cargofmt
|
|
run: cd "${{ matrix.simulations }}" && cargo fmt --all -- --check
|
|
|
|
clippy:
|
|
needs: cargo-fmt
|
|
name: clippy
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
simulations: ["eth_consensus", "censoring", "smoke", "scoring"]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install protoc
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y protobuf-compiler
|
|
- name: Get latest version of stable Rust
|
|
run: rustup update stable
|
|
- name: Install Protoc
|
|
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
|
|
- name: Lint code for quality and style with Clippy
|
|
run: cd "${{ matrix.simulations }}" && cargo clippy --workspace --tests -- -D warnings
|
|
- name: Certify Cargo.lock freshness
|
|
run: cd "${{ matrix.simulations }}" && git diff --exit-code Cargo.lock
|