Skip to content

Commit 3a84226

Browse files
committed
continue on error
1 parent 127cded commit 3a84226

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/smoke.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
run: |
3030
pipenv run pytest --fx-executable ./firefox/firefox -s -n 4 tests/security_and_privacy
3131
mv artifacts artifacts-win
32+
continue-on-error: true
3233
- name: Upload artifacts
3334
uses: actions/upload-artifact@v4
3435
with:
@@ -57,6 +58,7 @@ jobs:
5758
run: |
5859
pipenv run pytest --fx-executable ./firefox/firefox -s -n 4 tests/security_and_privacy
5960
mv artifacts artifacts-mac
61+
continue-on-error: true
6062
- name: Upload artifacts
6163
uses: actions/upload-artifact@v4
6264
with:

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import logging
33
import os
44
import platform
5-
import sys
65
import re
6+
import sys
77
from typing import Callable, List, Tuple
88

99
import pytest
@@ -38,7 +38,7 @@ def log_content(opt_ci: bool, driver: Firefox, test_name: str) -> None:
3838
"""
3939
artifacts_loc = "artifacts" if opt_ci else ""
4040
current_time = str(datetime.datetime.now())
41-
current_time = re.sub(r'[^\w_. -]', '_', current_time)
41+
current_time = re.sub(r"[^\w_. -]", "_", current_time)
4242
fullpath_chrome = os.path.join(
4343
artifacts_loc, f"{test_name}_{current_time}_content.html"
4444
)

0 commit comments

Comments
 (0)