From d68845f5acd6e8ddef3514fdd28a148c9cbc8090 Mon Sep 17 00:00:00 2001 From: funkecoder23 Date: Mon, 27 May 2024 12:50:24 -0400 Subject: [PATCH] add steps for dev env, and specifics for build + test --- CONTRIBUTING.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f48c09a1..196cf3b7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,6 +2,21 @@ *This file is incomplete. Feel free to open an issue if there is missing information you desire.* +## Dev environment + +1. Download and install [rust](https://www.rust-lang.org/tools/install) + +2. Download and install python3 and pip +3. Install `virtualenv` +4. Run `source ./dev_bootstrap.sh` + +## Build and test + +1. See docs/installation for more details on building +2. Run `make` to build scubainit +3. Run `./ci/test_setup.sh` to build docker images necessary for unit testing +4. Run `./run_unit_tests.sh`, `static_analysis.sh` and `run_full_tests.py` to test + ## Code Format Scuba is compliant with the [Black](https://black.readthedocs.io/) code style. Code format in PRs is verified by a GitHub action.