From 4cb07bd2f0244b5de3dd51f69c843959c05311d5 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 1 Oct 2020 09:21:11 -0500 Subject: [PATCH] Changed frequency of building stuff [Skip CI] --- .gitlab-ci.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) 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