Commit 38d6c96a authored by panyoriokome's avatar panyoriokome
Browse files

設定の追加

parent a1aac3b5
Pipeline #272592481 passed with stage
in 5 minutes and 23 seconds
......@@ -3,6 +3,9 @@ image: python:3.8-slim
stages:
- test
include:
- template: Code-Quality.gitlab-ci.yml
test_project_a:
stage: test
before_script:
......@@ -12,11 +15,11 @@ test_project_a:
- poetry install
script:
- echo "Running tests"
- poetry run pytest tests
- poetry run pytest tests --junitxml=report.xml
artifacts:
when: always
reports:
junit: report.xml
junit: project_a/report.xml
test_project_b:
stage: test
......@@ -31,4 +34,8 @@ test_project_b:
artifacts:
when: always
reports:
junit: report.xml
\ No newline at end of file
junit: project_b/report.xml
code_quality:
artifacts:
paths: [gl-code-quality-report.json]
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite errors="0" failures="0" hostname="deepstation" name="pytest" skipped="0" tests="2" time="0.012" timestamp="2021-03-18T20:34:03.968109"><testcase classname="tests.test_sample" name="test_add" time="0.001" /><testcase classname="tests.test_sample" name="test_substract" time="0.000" /></testsuite></testsuites>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment