Skip to content

Commit bd68e39

Browse files
authored
Merge pull request #3078 from IntersectMBO/fix_readme_for_sphinx
docs(readme): fix formatting for Sphinx
2 parents 7d680e8 + 9808259 commit bd68e39

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

README.md

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
44

5-
> 📡 **System and end-to-end (E2E) tests for `cardano-node`.**
5+
> 📡 **System and end-to-end (E2E) tests for cardano-node.**
66
77
📘 Check the [documentation site](https://tests.cardano.intersectmbo.org) for full usage guides, setup instructions, and details.
88

@@ -13,27 +13,32 @@
1313
Run tests easily using GitHub Actions:
1414

1515
1. **Fork** this repository.
16+
1617
1. Enable GitHub Actions in your fork:
1718

1819
* Go to `Settings``Actions``General``Actions permissions`
1920
* Check ✅ `Allow all actions and reusable workflows`
21+
2022
1. Navigate to the `Actions` tab, then choose:
2123

2224
* `01 Regression tests`, or
2325
* `02 Regression tests with db-sync`
26+
2427
1. Click `Run workflow` to start testing.
2528

2629
---
2730

2831
## 🛠️ Running Tests Locally with Nix
2932

3033
1. Install and configure Nix using the [official guide](https://github.com/input-output-hk/cardano-node-wiki/wiki/building-the-node-using-nix).
34+
3135
1. Clone this repository.
36+
3237
1. Run the test suite:
3338

34-
```sh
35-
./.github/regression.sh
36-
```
39+
```sh
40+
./.github/regression.sh
41+
```
3742

3843
> ℹ️ **NOTE:** Using `CI_BYRON_CLUSTER` will cause the local cluster to progress from Byron ➝ Conway, which takes approximately 40 minutes.
3944
@@ -42,17 +47,18 @@ Run tests easily using GitHub Actions:
4247
## 🧪 Running Individual Tests with Custom Binaries
4348

4449
1. Add your custom `cardano-cli` / `cardano-node` binaries to the `.bin` directory.
50+
4551
1. Run a specific test:
4652

47-
```sh
48-
TEST_THREADS=0 CLUSTERS_COUNT=1 PYTEST_ARGS="-k 'test_minting_and_burning_sign[asset_name-build_raw-submit_cli]'" ./.github/regression.sh
49-
```
53+
```sh
54+
TEST_THREADS=0 CLUSTERS_COUNT=1 PYTEST_ARGS="-k 'test_minting_and_burning_sign[asset_name-build_raw-submit_cli]'" ./.github/regression.sh
55+
```
5056

5157
1. Enable full CLI command logging:
5258

53-
```sh
54-
PYTEST_ARGS="... --log-level=debug" ./.github/regression.sh
55-
```
59+
```sh
60+
PYTEST_ARGS="... --log-level=debug" ./.github/regression.sh
61+
```
5662

5763
1. Clean up by removing binaries from `.bin` after tests complete.
5864

@@ -64,35 +70,35 @@ For workflows requiring repeated test runs on a persistent cluster:
6470

6571
1. Start a Nix shell:
6672

67-
```sh
68-
nix flake update --accept-flake-config --override-input cardano-node github:IntersectMBO/cardano-node/master
69-
nix develop --accept-flake-config
70-
```
73+
```sh
74+
nix flake update --accept-flake-config --override-input cardano-node github:IntersectMBO/cardano-node/master
75+
nix develop --accept-flake-config
76+
```
7177

7278
1. Prepare the test environment:
7379

74-
```sh
75-
source ./prepare_test_env.sh conway
76-
```
80+
```sh
81+
source ./prepare_test_env.sh conway
82+
```
7783

7884
1. Launch the cluster:
7985

80-
```sh
81-
./dev_workdir/conway_fast/start-cluster
82-
```
86+
```sh
87+
./dev_workdir/conway_fast/start-cluster
88+
```
8389

8490
1. Run your tests:
8591

86-
```sh
87-
pytest -s -k test_minting_one_token cardano_node_tests/tests/tests_plutus
88-
pytest -s --log-level=debug -k test_minting_one_token cardano_node_tests/tests/tests_plutus
89-
```
92+
```sh
93+
pytest -s -k test_minting_one_token cardano_node_tests/tests/tests_plutus
94+
pytest -s --log-level=debug -k test_minting_one_token cardano_node_tests/tests/tests_plutus
95+
```
9096

9197
1. Stop the cluster:
9298

93-
```sh
94-
./dev_workdir/conway_fast/stop-cluster
95-
```
99+
```sh
100+
./dev_workdir/conway_fast/stop-cluster
101+
```
96102

97103
To reuse the same environment in another shell:
98104

@@ -240,5 +246,3 @@ make doc
240246
* Follow the [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html).
241247
* Use [Ruff](https://github.com/astral-sh/ruff) (via `pre-commit`) for formatting.
242248
* See [CONTRIBUTING.md](https://github.com/IntersectMBO/cardano-node-tests/blob/master/CONTRIBUTING.md) for full guidelines.
243-
244-
---

0 commit comments

Comments
 (0)