Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ Unit Tests: extends: [.python] needs: [Pin] script: - pip install -r requirements.txt -e . coverage[toml] nose - pip install -r requirements.txt -e .[tests] nose - coverage run -m nose tests --verbose --with-xunit --xunit-file=results/xunit.xml Loading pyproject.toml +10 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ classifiers = [ "Topic :: Software Development :: Quality Assurance", ] [project.optional-dependencies] tests = [ "coverage[toml]", "kodo.plugins.cover_test_context @ https://code.kodo.org.uk/dom/cover-plugin-test-context/-/archive/main/cover-plugin-test-context-main.zip", ] [project.urls] Repository = "https://code.kodo.org.uk/dom/project-templates" Loading Loading @@ -53,7 +59,9 @@ warn_unreachable = true data_file = "results/coverage.db" branch = true source = ["project_templates"] dynamic_context = "test_function" plugins = [ "kodo.plugins.cover_test_context", ] [tool.coverage.report] precision = 2 Loading @@ -72,6 +80,7 @@ partial_branches = [ [tool.coverage.json] output = "results/coverage.json" show_contexts = true [tool.coverage.xml] output = "results/coverage.xml" Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ Unit Tests: extends: [.python] needs: [Pin] script: - pip install -r requirements.txt -e . coverage[toml] nose - pip install -r requirements.txt -e .[tests] nose - coverage run -m nose tests --verbose --with-xunit --xunit-file=results/xunit.xml Loading
pyproject.toml +10 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,12 @@ classifiers = [ "Topic :: Software Development :: Quality Assurance", ] [project.optional-dependencies] tests = [ "coverage[toml]", "kodo.plugins.cover_test_context @ https://code.kodo.org.uk/dom/cover-plugin-test-context/-/archive/main/cover-plugin-test-context-main.zip", ] [project.urls] Repository = "https://code.kodo.org.uk/dom/project-templates" Loading Loading @@ -53,7 +59,9 @@ warn_unreachable = true data_file = "results/coverage.db" branch = true source = ["project_templates"] dynamic_context = "test_function" plugins = [ "kodo.plugins.cover_test_context", ] [tool.coverage.report] precision = 2 Loading @@ -72,6 +80,7 @@ partial_branches = [ [tool.coverage.json] output = "results/coverage.json" show_contexts = true [tool.coverage.xml] output = "results/coverage.xml" Loading