diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..0f3de15516a0423edd85f7e7c32891041f092e02 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +pytest: + tags: + - conda + stage: test + before_script: + - python3 -m pip install -r requirements.txt + - python3 -m pip install pytest + script: + - pytest --doctest-modules --junitxml=report.xml + artifacts: + when: always + reports: + junit: report.xml diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..6bad10388ecb1eefd890a797d833976a5e631541 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +numpy +scipy diff --git a/setup.py b/setup.py index f37c2d653f21f10b69d47659ffd5c5a2135f12f0..10519fc24d275f273426f5fa6a822a787a13727d 100644 --- a/setup.py +++ b/setup.py @@ -6,4 +6,8 @@ setup( version="0.3", description="Constants and functions for the treatment of moist atmospheric thermodynamics", packages=find_packages(), + install_requires=[ + "numpy", + "scipy", + ], )