From 78def693a2b2681c5b534d78b6d2d7d812e6ec84 Mon Sep 17 00:00:00 2001 From: Ivan Gromakovskii Date: Mon, 3 May 2021 15:14:43 +0300 Subject: [PATCH] Run pytest on CI Problem: we have tests for Python code, but CI doesn't run them, so they may silently break. Solution: add a new CI step that calls `pytest` in `nix-shell`. --- .buildkite/pipeline.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 28d63d19..3677ff23 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -11,6 +11,11 @@ steps: commands: - nix-shell --run 'reuse lint' +# Checks for the analysis + - label: analysis test + commands: + - nix-shell --run 'cd analysis && pytest' + # Checks for the backend - label: validate cabal files commands: