forked from openlp/openlp
Set up a GitLab runner on a Windows 7 VM, and configure the pipeline to use it.
This commit is contained in:
parent
92206d1677
commit
555bfb5f88
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,10 +16,12 @@
|
|||||||
.cache
|
.cache
|
||||||
.coverage
|
.coverage
|
||||||
.directory
|
.directory
|
||||||
|
.eggs
|
||||||
.idea
|
.idea
|
||||||
.kdev4
|
.kdev4
|
||||||
.komodotools
|
.komodotools
|
||||||
.pytest_cache
|
.pytest_cache
|
||||||
|
.venv
|
||||||
.vscode
|
.vscode
|
||||||
OpenLP.egg-info
|
OpenLP.egg-info
|
||||||
\#*\#
|
\#*\#
|
||||||
|
@ -63,11 +63,24 @@ test-macos:
|
|||||||
only:
|
only:
|
||||||
- master@openlp/openlp
|
- master@openlp/openlp
|
||||||
|
|
||||||
|
test-windows:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
|
script:
|
||||||
|
- C:\Users\raoul\GitLab-Runner\venv\Scripts\pytest.exe --color=no --disable-warnings --cov openlp
|
||||||
|
- mv .coverage windows.coverage
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- windows.coverage
|
||||||
|
only:
|
||||||
|
- master@openlp/openlp
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: openlp/debian
|
image: openlp/debian
|
||||||
script:
|
script:
|
||||||
- python3-coverage combine linux.coverage macos.coverage
|
- python3-coverage combine linux.coverage macos.coverage windows.coverage
|
||||||
- fixpaths .coverage
|
- fixpaths .coverage
|
||||||
- python3-coverage html
|
- python3-coverage html
|
||||||
- mv htmlcov public
|
- mv htmlcov public
|
||||||
@ -79,5 +92,6 @@ pages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- test-debian
|
- test-debian
|
||||||
- test-macos
|
- test-macos
|
||||||
|
- test-windows
|
||||||
only:
|
only:
|
||||||
- master@openlp/openlp
|
- master@openlp/openlp
|
||||||
|
Loading…
Reference in New Issue
Block a user