Add build step
Some checks are pending
Python CI / test (push) Waiting to run
Python CI / build (push) Blocked by required conditions

This commit is contained in:
Benedith Mulongo 2024-10-11 16:04:13 +02:00
parent a6ed74dfe5
commit d4a052f6e1
Signed by: benedith
GPG key ID: 62D68B584B4B3EB3

View file

@ -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
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