diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a814279 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: registry-gitlab.gog.com/galaxy-client/gitlab-ci-tools:latest + +stages: + - test + +test_package: + stage: test + script: + - pip install -r requirements.txt + - pytest + except: + - tags \ No newline at end of file diff --git a/galaxy/api/__init__.py b/galaxy/api/__init__.py index e876727..e69de29 100644 --- a/galaxy/api/__init__.py +++ b/galaxy/api/__init__.py @@ -1 +0,0 @@ -from galaxy.api.plugin import Plugin diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..3d6dc59 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = --flakes \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 8fac6cf..9dee50a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ pytest==4.2.0 +pytest-flakes==4.0.0