diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01b9ab4..78bb80e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,20 +21,6 @@ stages: - 'python -m pip install --upgrade pip' - 'python -m pip install --upgrade -r requirements.txt' -test: - <<: *configure_environment - stage: test - tags: - - windows10 - script: - - cd src - - 'python -m pip install --upgrade coverage' - - 'python -m coverage run run_tests.py' - - 'python -m coverage report --omit="test*"' - coverage: '/TOTAL.+ ([0-9]{1,3}%)/' - only: - - master - ### Updates all translation templates for weblate update_translation_templates: <<: *configure_environment @@ -60,6 +46,21 @@ update_translation_templates: only: - master +test: + <<: *configure_environment + stage: test + tags: + - windows10 + script: + - cd src + - 'python -m pip install --upgrade coverage' + - 'python -m coverage run run_tests.py' + - 'python -m coverage report --omit="test*"' + coverage: '/TOTAL.+ ([0-9]{1,3}%)/' + only: + - master + - schedules + public: <<: *configure_environment stage: build