From 51b24f1b00d1a5243000d7fdee66f52c0a5b348c Mon Sep 17 00:00:00 2001 From: Mads Bertelsen Date: Thu, 14 Dec 2023 13:39:12 +0100 Subject: [PATCH] Run McStasScript unittests in CI. --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78d8589..8ad59f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,13 @@ jobs: pytest . - name: Test McStasScript run: | - python3 -m pip install McStasScript + git clone https://github.com/PaNOSC-ViNYL/McStasScript.git + cd mcstasscript + pip install -e . + cd mcstasscript/tests + + pytest . + cd - name: Test SimEx-Lite run: | git clone --recursive https://github.com/PaNOSC-ViNYL/SimEx-Lite.git