Skip to content

Commit 7240917

Browse files
committed
Add CI/CD variable
1 parent 11ca210 commit 7240917

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ stages:
44
python_tests:
55
image: python:3.8.10
66
stage: test
7+
variables: NEOCC_PORTAL_IP: $NEOCC_PORTAL_IP
8+
79
script:
10+
- echo $NEOCC_PORTAL_IP
811
- python3 -m venv venv
912
- source venv/bin/activate ven
1013
- pip install astroquery # For testing
@@ -13,5 +16,6 @@ python_tests:
1316
- python setup.py bdist_wheel
1417
- pip install .
1518
- pip install -r requirements.txt
19+
# test.py $NEOCC_PORTAL_IP
1620
- coverage run -m pytest -rp test/test*.py
1721
- coverage report ESANEOCC/*.py

0 commit comments

Comments
 (0)