-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI runs Rust-specific lint/test jobs #6814
Labels
Rust
Issues that touch Rust code
Comments
14 tasks
legoktm
changed the title
CI runs Rust-specific lint/test jobs (done in oxidize branch)
CI runs Rust-specific lint/test jobs
May 17, 2023
legoktm
added a commit
that referenced
this issue
May 30, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
May 30, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
7 tasks
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 2, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
These lint and test solely the Rust code (no Python). The following tools are enabled: * rustfmt: code formatting (like black) * clippy: linting (like flake8+pylint+mypy) * cargo test: Rust test suite Running maturin to verify the Python integration will happen in the next commit, when it's hooked into the development environment. Refs #6814.
legoktm
added a commit
that referenced
this issue
Jun 6, 2023
We need to compile Rust code before we can launch the development environment and run tests. Add a build_redwood step to `securedrop/bin/dev-deps` that uses maturin to build a wheel and install it into the securedrop-app-code virtualenv. maturin is only needed at build time, so it is pinned in a new `build-requirements.txt` Fixes #6814. Fixes #6816.
github-project-automation
bot
moved this from Ready For Review
to Done
in SecureDrop dev cycle
Jun 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are introducing Rust code for the first time as part of the Sequoia work and need to set up CI checks. For the first step we should:
cargo clippy
, with warnings causing failurescargo test
maturin build
, so we know that it builds/compiles with pyO3.The text was updated successfully, but these errors were encountered: