File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
.idea
2
2
* .iml
3
- .pytest_cache
3
+ .pytest_cache
4
+ junit-results.xml
Original file line number Diff line number Diff line change
1
+ [pytest]
2
+ addopts = --strict-markers --junit-xml =junit-results.xml
3
+ junit_logging = system-err
4
+ xfail_strict = True
Original file line number Diff line number Diff line change
1
+
2
+ ts=$( date +%s)
3
+ BUILDKITE_BUILD_ID=" $ts "
4
+ BUILDKITE_BUILD_URL=" https://github.com/adimoldovan/pytest-bk-test-analytics/actions"
5
+ BUILDKITE_BRANCH=" main"
6
+ BUILDKITE_MESSAGE=" local run $ts "
7
+
8
+ curl \
9
+ -X POST \
10
+ -H " Authorization: Token token=\" $BUILDKITE_ANALYTICS_TOKEN \" " \
11
+ -F " data=@junit-results.xml" \
12
+ -F " format=junit" \
13
+ -F " run_env[CI]=buildkite" \
14
+ -F " run_env[key]=$BUILDKITE_BUILD_ID " \
15
+ -F " run_env[url]=$BUILDKITE_BUILD_URL " \
16
+ -F " run_env[branch]=$BUILDKITE_BRANCH " \
17
+ -F " run_env[commit_sha]=$BUILDKITE_COMMIT " \
18
+ -F " run_env[number]=$BUILDKITE_BUILD_NUMBER " \
19
+ -F " run_env[job_id]=$BUILDKITE_JOB_ID " \
20
+ -F " run_env[message]=$BUILDKITE_MESSAGE " \
21
+ https://analytics-api.buildkite.com/v1/uploads
You can’t perform that action at this time.
0 commit comments