From 555bfb5f8845c0e8af367cd289ce2e35a812affe Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 16 Oct 2019 20:10:33 -0700 Subject: [PATCH] Set up a GitLab runner on a Windows 7 VM, and configure the pipeline to use it. --- .gitignore | 2 ++ .gitlab-ci.yml | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 54ec9c9ac..39e4703d3 100644 --- a/.gitignore +++ b/.gitignore @@ -16,10 +16,12 @@ .cache .coverage .directory +.eggs .idea .kdev4 .komodotools .pytest_cache +.venv .vscode OpenLP.egg-info \#*\# diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f46fd351e..5edb7301e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,11 +63,24 @@ test-macos: only: - 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: stage: deploy image: openlp/debian script: - - python3-coverage combine linux.coverage macos.coverage + - python3-coverage combine linux.coverage macos.coverage windows.coverage - fixpaths .coverage - python3-coverage html - mv htmlcov public @@ -79,5 +92,6 @@ pages: dependencies: - test-debian - test-macos + - test-windows only: - master@openlp/openlp