From d4a052f6e1ad39f1924aa9aff4aa122609725367 Mon Sep 17 00:00:00 2001 From: Benedith Mulongo Date: Fri, 11 Oct 2024 16:04:13 +0200 Subject: [PATCH] Add build step --- .github/workflows/ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ab71f2..7079557 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,4 +49,24 @@ jobs: run: | # Ensure we can connect to Neo4j curl -I http://localhost:7474 - poetry run python -m unittest discover -s tests \ No newline at end of file + poetry run python -m unittest discover -s tests + build: + needs: test # Only run after tests succeed + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.9' + + - name: Install Poetry + run: curl -sSL https://install.python-poetry.org | python3 - + + - name: Install Dependencies + run: poetry install + + - name: Build the package + run: poetry build