Add build step
This commit is contained in:
parent
a6ed74dfe5
commit
d4a052f6e1
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -49,4 +49,24 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Ensure we can connect to Neo4j
|
# Ensure we can connect to Neo4j
|
||||||
curl -I http://localhost:7474
|
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
|
||||||
|
|
Loading…
Reference in a new issue