Skip to content

Commit 2aab1e5

Browse files
committed
semgrep changes + pytest cd
1 parent f408d07 commit 2aab1e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Semgrep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# Fetch project source with GitHub Actions Checkout.
3737
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
3838
# Run the "semgrep ci" command on the command line of the docker image.
39-
- run: semgrep ci --sarif --output=semgrep.sarif
39+
- run: semgrep ci --config auto --sarif --output=semgrep.sarif
4040
env:
4141
# Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable.
4242
SEMGREP_RULES: p/default # more at semgrep.dev/explore

mac/env-setup-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ EOF
297297
log_info "Parallels per platform: $BSTACK_PARALLELS"
298298
log_info "Platforms: \n$BSTACK_PLATFORMS"
299299

300-
print_tests_running_log_section "browserstack-sdk pytest -s bstack-sample.py"
300+
print_tests_running_log_section "cd $run_dir && browserstack-sdk pytest -s bstack-sample.py"
301301
# Run pytest with BrowserStack SDK from the chosen platform directory
302302
log_msg_to "🚀 Running 'cd $run_dir && browserstack-sdk pytest -s bstack_sample.py'"
303303
(

0 commit comments

Comments
 (0)