Skip to content

Commit 13b3e39

Browse files
authored
Merge pull request #1 from bugout-dev/bug-1-init-project
Started demo project
2 parents a8e178d + ff5d92e commit 13b3e39

5 files changed

Lines changed: 426 additions & 3 deletions

File tree

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,13 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
# Pycharm
132+
.idea
133+
134+
# VS Code
135+
.vscode/
136+
137+
# Custom
138+
.secrets/
139+
.demo/

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ jobs:
6464
- name: Generate Locust summary
6565
run: |
6666
COMMENTS_URL=$(python -c 'import json; import os; event = os.environ.get("GITHUB_EVENT_PATH"); raw = open(event); inp_json = json.load(raw); print(inp_json.get("pull_request").get("_links").get("comments").get("href")); raw.close();')
67-
INITIAL_REF=$(python -c 'import json; import os; event = os.environ.get("GITHUB_EVENT_PATH"); raw = open(event); inp_json = json.load(raw); print(inp_json.get("pull_request").get("base").get("sha")); raw.close();')
68-
TERMINAL_REF=$(python -c 'import json; import os; event = os.environ.get("GITHUB_EVENT_PATH"); raw = open(event); inp_json = json.load(raw); print(inp_json.get("pull_request").get("head").get("sha")); raw.close();')
69-
locust --format json $INITIAL_REF $TERMINAL_REF --metadata "{\"comments_url\": \"${COMMENTS_URL}\", \"terminal_hash\": \"$TERMINAL_REF\"}" | tee summary
67+
INITIAL_REF=$(locust.github initial)
68+
TERMINAL_REF=$(locust.github terminal)
69+
REPO_URL=$(locust.github repo)
70+
locust --format json $INITIAL_REF $TERMINAL_REF --github $REPO_URL --metadata "{\"comments_url\": \"${COMMENTS_URL}\", \"terminal_hash\": \"$TERMINAL_REF\"}" | tee summary
7071
- name: Cleaning summary
7172
id: clean_summary
7273
run: |

demo/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)