From e1bc73ee31c7597d629cf02d3194dbd88d7fcaa7 Mon Sep 17 00:00:00 2001 From: Christian Henkel Date: Mon, 24 Jun 2024 16:43:53 +0200 Subject: [PATCH] a workflow to test our python packages Signed-off-by: Christian Henkel --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..ffcd100f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test +# Test the python packages that are part of the toolchain + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + # Checkout the repository + - name: Checkout repository + uses: actions/checkout@v2 + # install the packages + - name: Install packages + run: | + pip install jani_generator/ + pip install mc_toolchain_jani_common/ + pip install scxml_converter/ + # run the tests + - name: Run tests + run: pytest \ No newline at end of file