Skip to content

Commit 8c415b6

Browse files
committed
add stderr
1 parent ca385ef commit 8c415b6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/smoke.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pipenv install;
2828
- name: Run Smoke Tests in Win
2929
run: |
30-
pipenv run pytest --fx-executable ./firefox/firefox -n 4 tests/security_and_privacy
30+
pipenv run pytest --fx-executable ./firefox/firefox -s -n 4 tests/security_and_privacy
3131
mv artifacts artifacts-win
3232
- name: Upload artifacts
3333
uses: actions/upload-artifact@v4
@@ -55,7 +55,7 @@ jobs:
5555
pipenv install;
5656
- name: Run Smoke Tests in MacOS
5757
run: |
58-
pipenv run pytest --fx-executable ./firefox/firefox -n 4 tests/security_and_privacy
58+
pipenv run pytest --fx-executable ./firefox/firefox -s -n 4 tests/security_and_privacy
5959
mv artifacts artifacts-mac
6060
- name: Upload artifacts
6161
uses: actions/upload-artifact@v4

conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import datetime
23
import logging
34
import os
@@ -64,7 +65,7 @@ def pytest_exception_interact(node, call, report):
6465
try:
6566
test_name = node.name
6667
logging.info(f"Handling exception for test: {test_name}")
67-
print(f"NODE LOGS HERE {node.funcargs}")
68+
print(f"NODE LOGS HERE {node.funcargs}", file=sys.stderr)
6869
driver = node.funcargs["driver"]
6970
opt_ci = node.funcargs["opt_ci"]
7071
if driver:

taskcluster/kinds/run-smoke-tests/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ tasks:
3131
./collect_executables.sh;
3232
mv ./ci_pyproject.toml ./pyproject.toml;
3333
pipenv install;
34-
pipenv run pytest --fx-executable ./firefox/firefox -n 4 tests/security_and_privacy
34+
pipenv run pytest --fx-executable ./firefox/firefox -s -n 4 tests/security_and_privacy
3535
notify:
3636
recipients:
3737
- type: slack-channel

0 commit comments

Comments
 (0)