i have installed gitlab-ci-multi-runner following documentation https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-repository.md
i use public server ci.gitlab.com , registration of runner seems ok (the runner appears green light). debug activated can see runner fetch regularly ci server.
but when new commit pushed no build done. green: https://ci.gitlab.com/projects/4656 no test done...
my .gitlab-ci.yml pretty simple:
before_script: - apt install python3-pip - pip3 install -q -r requirements.txt master: script: "make test" only: - master script: - python setup.py test by way can find error message , don't know search.
i pretty knew ci , there perhaps obvious point missing.
give try. assuming pyunit tests in file called runtests.py in working directory.
before_script: - apt install python3-pip - pip3 install -q -r requirements.txt master: script: "python runtests.py" only: - master
Comments
Post a Comment