Skip to content

Commit

Permalink
stack behind secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
tauqirsarwar1 committed Mar 17, 2024
1 parent 3ad8690 commit dba0894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
fi
source $HOME/.bp-venv/bin/activate
sh api_run.sh "$TAGS" "${{secrets.SLACK_WEBHOOK_URL}}" "http://localhost:63342/pytest-automation-boilerplate/output/allure/reports/index.html" "${{secrets.TEAMS_WEBHOOK_URL}}"
sh api_run.sh "$TAGS" "${{secrets.SLACK_WEBHOOK_URL}}" "${{secrets.TEAMS_WEBHOOK_URL}}"
- name: Get Allure history
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion api_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

# Run API tests
python -m pytest -v -s --gherkin-terminal-reporter --html="./output/reports/" --tags=$1 --self-contained-html --reruns 1 --reruns-delay 2 --alluredir=allure-results \
--slack-webhook-url=$2 --slack-channel=pytest-test-automation --slack-results-url=$3 --teams-webhook-url=$4 --teams-results-url=$3
--slack-webhook-url=$2 --slack-channel=pytest-test-automation --slack-results-url=https://tweag.github.io/pytest-automation-boilerplate --teams-webhook-url=$3 \
--teams-results-url=https://tweag.github.io/pytest-automation-boilerplate/

0 comments on commit dba0894

Please sign in to comment.