From 9042b1377955a7eab3aa7c9276ef959b7a374af4 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Tue, 23 Aug 2022 18:43:50 +0800 Subject: [PATCH] test pipeline --- .gitlab-ci.yml | 2 +- requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df6c846..83c2a8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,4 +36,4 @@ unit-test-job: # This job runs in the test stage. - python3 --version - pip install -r requirements.txt - sh install.sh - - python3 tests/test_flip_image.py + - pytest diff --git a/requirements.txt b/requirements.txt index 5afcfb3..66fd8a6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ numpy~=1.20.3 joblib~=1.1.0 #csst~=0.0.1 setuptools~=58.0.4 -astropy~=5.1 \ No newline at end of file +astropy~=5.1 +pytest \ No newline at end of file -- GitLab