norduniclient/.gitlab-ci.yml

34 lines
399 B
YAML
Raw Permalink Normal View History

2024-10-10 14:37:08 +00:00
---
stages:
- test
- deploy
image: python:3
variables:
NEO4J_AUTH: neo4j/testing
services:
- neo4j:4.4
before_script:
- python -V
test:
stage: test
tags:
- docker
script:
- python setup.py testing
- python setup.py test
deploy:
stage: deploy
only:
- tags
script:
- pip install -U twine build
- python -m build
- twine upload dist/* --verbose