From 5568cdb9069da7f81f83e0026e6634a210c1ed87 Mon Sep 17 00:00:00 2001 From: "Abdel @ StarkWare" Date: Fri, 2 Aug 2024 15:40:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20init=20ci=20for=20reference=20te?= =?UTF-8?q?sts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/reference_tests.yml | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/reference_tests.yml diff --git a/.github/workflows/reference_tests.yml b/.github/workflows/reference_tests.yml new file mode 100644 index 0000000..022737d --- /dev/null +++ b/.github/workflows/reference_tests.yml @@ -0,0 +1,32 @@ +name: Reference Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.12" + + - name: Install Poetry + run: | + curl -sSL https://install.python-poetry.org | python3 - + + - name: Install dependencies + run: | + cd tests/references/bdhke-nutshell + poetry install + + - name: Run reference tests + run: | + cd tests/references/bdhke-nutshell + poetry run pytest -v bdhke_nutshell.py