-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current state for this new Qubes OS builder is still a work in progress. We make it public in order to start receiving contributions. QubesOS/qubes-issues/issues/6486
- Loading branch information
Showing
100 changed files
with
10,787 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.idea | ||
**__pycache__ | ||
.coverage | ||
artifacts | ||
mypy.xml | ||
pylint.xml | ||
builder.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
stages: | ||
- test | ||
|
||
variables: | ||
DEBUG: "1" | ||
|
||
lint: | ||
stage: test | ||
script: | ||
- PYTHONPATH=. pylint --junitxml=pylint.xml qubesbuilder | ||
artifacts: | ||
when: always | ||
reports: | ||
junit: pylint.xml | ||
|
||
mypy: | ||
stage: test | ||
script: | ||
- mypy --install-types --non-interactive --junit-xml mypy.xml qubesbuilder | ||
artifacts: | ||
reports: | ||
junit: mypy.xml | ||
|
||
tests: | ||
stage: test | ||
image: docker/compose:latest | ||
services: | ||
- docker:dind | ||
tags: | ||
- docker | ||
artifacts: | ||
paths: | ||
- artifacts/htmlcov/ | ||
reports: | ||
junit: artifacts/app.xml | ||
cobertura: artifacts/coverage.xml | ||
coverage: '/TOTAL.*\s(\d+)%/' | ||
script: | ||
- docker-compose -f tests/docker-compose.yml build test | ||
- docker-compose -f tests/docker-compose.yml run test |
Oops, something went wrong.