wads.scriptsΒΆ

CI and automation scripts for wads.

These scripts extract complex logic from GitHub Actions workflow files, making them easier to test, maintain, and reuse.

Available scripts:

  • build_dist: Build Python distribution packages

  • install_deps: Install Python dependencies

  • read_ci_config: Read CI configuration from pyproject.toml

  • set_env_vars: Set environment variables from GitHub Secrets

  • validate_ci_env: Validate CI environment variables

Modules

build_dist

Build Python Distribution Packages

install_deps

Install Dependencies

read_ci_config

Read CI Configuration and Export to GitHub Actions

set_env_vars

Set Environment Variables from GitHub Secrets

validate_ci_env

CI Environment Validation Script

cargo_test_args

Print the cargo test arguments for a maturin package (issue #166).

export_ci_env

Export the pyproject-declared CI environment to $GITHUB_ENV.

npm_publish_guard

Refuse an npm publish that would reuse the previous PyPI release's number (i2mint/wads#210).

plan_subpackages

Decide which subpackages release now ([[tool.wads.ci.packages]], i2mint/wads#220).

pytest_doctest_flags

Print the -o doctest_optionflags=... pytest argument CI should add, if any.

run_ci_commands

Run the [tool.wads.ci.commands] pre_test / post_test lists in CI.

stamp_subpackage_version

Write a release version into a subpackage's pyproject.toml (i2mint/wads#220).

sync_version

Write the release version into the manifests [tool.wads.ci.version].sync lists.