Changed frequency of building stuff [Skip CI]

This commit is contained in:
Manuel Cortez 2020-10-01 09:21:11 -05:00
parent ce2435dfb4
commit 4cb07bd2f0

View File

@ -21,20 +21,6 @@ stages:
- 'python -m pip install --upgrade pip' - 'python -m pip install --upgrade pip'
- 'python -m pip install --upgrade -r requirements.txt' - '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 ### Updates all translation templates for weblate
update_translation_templates: update_translation_templates:
<<: *configure_environment <<: *configure_environment
@ -60,6 +46,21 @@ update_translation_templates:
only: only:
- master - 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: public:
<<: *configure_environment <<: *configure_environment
stage: build stage: build