maelstrom

(โ˜… 733)

Maelstrom is a fast Rust, Go, and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner.

  • .envrc
  • .gitignore
  • cargo-maelstrom.toml
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG.md
  • flake.lock
  • flake.nix
  • LICENSE-APACHE
  • LICENSE-MIT
  • maelstrom-container-tags.lock
  • maelstrom-pytest.toml
  • package.nix
  • pyproject.toml
  • README.md
  • rustfmt.toml
  • shell.nix
  • test-requirements.txt

# Installation Guide

1. Get the code
git clone https://github.com/maelstrom-software/maelstrom

Downloads the entire project code from GitHub to your computer.

cd maelstrom

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install .

Installs the package published on PyPI directly โ€” no need to clone the source.

python <์‹คํ–‰ํ•  ํŒŒ์ผ๋ช…>.py # README์—์„œ ์ •ํ™•ํ•œ ์‹คํ–‰ ํŒŒ์ผ๋ช…์„ ํ™•์ธํ•˜์„ธ์š”

Runs the Python script (or module).

โœ… If it runs without errors and prints output in the terminal, it worked.

3. Rust

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Rust (rustup) Installing via rustup also installs cargo.
cargo binstall cargo-maelstrom

Type this command into your terminal and run it.

cargo binstall maelstrom-go-test

Type this command into your terminal and run it.

cargo binstall maelstrom-pytest

Type this command into your terminal and run it.

pacman -S cargo-maelstrom

Type this command into your terminal and run it.

cargo maelstrom

Type this command into your terminal and run it.

โœ… If cargo build finishes without errors, it worked. The executable is created under target/.

Pulled directly from this repo's README.

// repository documentation