Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust/.github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
architecture: [ubuntu-24.04, ubuntu-24.04-arm]
language: [rust, shell]
language: [rust, shell, python]
steps:
- name: Checkout code.
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down
8 changes: 8 additions & 0 deletions rust/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ check-rust-linting:
check-shell-linting:
shellcheck ci/*.sh

.PHONY: check-python-linting
check-python-linting:
ruff check --line-length 120 end-to-end-tests/

.PHONY: fix-python-linting
fix-python-linting:
ruff check --fix --line-length 120 end-to-end-tests/

.PHONY: check-github-actions-workflows-linting
check-github-actions-workflows-linting:
actionlint -verbose -color
Expand Down
13 changes: 9 additions & 4 deletions rust/flake.nix.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@
buildInputs = [
# Rust with cross-compilation targets built-in.
rustWithTargets
# Shell scripts.
# Shell formatting.
pkgs.shfmt
pkgs.shellcheck
# GitHub Action Workflows.
# Python formatting.
pkgs.python313Packages.autopep8
# YAML formatting.
pkgs.yamlfmt
# Shell linting.
pkgs.shellcheck
# Python linting.
pkgs.ruff
# GitHub Actions workflows linting.
pkgs.actionlint
# End to end tests.
pkgs.python313
pkgs.python313Packages.autopep8
pkgs.python313Packages.behave
{%- if uses_git %}
pkgs.git
Expand Down