mirror of
https://github.com/sigp/gossipsub-testground.git
synced 2026-01-09 13:37:58 -05:00
* episub-sim
* network generation
* mainnet network generation
* no pretty print
* add small network for testing
* upgrade versions, make the thing compile
* checkpoint
* this is ridiculous
* make gen_topology reachable by testground
* add 16 instsances for testing
* add running command
* remove params
* pass new participants param
* update upstream reg
* update upstream reg
* put msg generation back in
* put publishing back in
* adding metrics
* record metrics on intervals
* add gossip max limit
* stop fghting testground. For now
* update README
* Revert "stop fghting testground. For now"
This reverts commit a976c5371b.
* use composition files to get the docker build context a layer up
* fix params and logs
* remove unused files
* cache workspace deps
* cache workspace deps _the right_ way
* updates
* some docs
* Update CI and remove root workspace
* Add duplicates, fix clippy, improve dash
* Reduce message sizes, some debugging
* Update dash and logs
* Add scripts folder
* Fix executor lockup
* fmt and clippy
* Add some docs
* Dot to mermaid
Co-authored-by: Diva M <divma@protonmail.com>
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"]
|
|
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"]
|
|
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
|