File tree 1 file changed +23
-11
lines changed
1 file changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
- description : Sample example description.
1
+ description : |
2
+ Uploading pytest JUnit reports to CI Issues.
2
3
3
4
usage :
4
5
version : 2.1
6
+
5
7
orbs :
6
- ci-issues :
mergifyio/[email protected]
8
+ python :
circleci/[email protected]
9
+ mergifyio :
mergifyio/[email protected]
10
+
7
11
jobs :
8
- ci-job :
9
- docker :
10
- - image : cimg/ubuntu:current
12
+ run_tests :
13
+ executor :
14
+ name : python/default
15
+ tag : 3.12.5
11
16
steps :
12
17
- checkout
13
18
- python/install-packages :
14
19
pkg-manager : poetry
15
- - run : pytest -v -s --junitxml=reports/junit.xml
16
- - ci-issues/upload :
17
- token : MERGIFY_SECRET_TOKEN
20
+ - run :
21
+ name : Run tests
22
+ command : |
23
+ mkdir test_results
24
+ poetry run pytest -vv --junitxml=test_results/report.xml
25
+ - mergifyio/upload :
26
+ token : MERGIFY_CI_ISSUES_TOKEN
18
27
repository_url : <<pipeline.trigger_parameters.github_app.repo_url>>
19
- report_paths : reports/junit.xml
28
+ report_paths : test_results/report.xml
29
+ - store_test_results :
30
+ path : test_results
31
+
20
32
workflows :
21
33
continuous_integration :
22
34
jobs :
23
- - ci-job :
35
+ - run_tests :
24
36
context :
25
- - test_context
37
+ - ci_secrets
You can’t perform that action at this time.
0 commit comments