Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
desaimg1 committed Dec 3, 2024
1 parent 125a8e6 commit 0c836ed
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions do.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ def test(card="novus100g"):
]
)

if os.path.exists("$HOME/allure-report"):
run(["mkdir -p allure-results/history"])
run(["cp -r $HOME/allure-report/history/* allure-results/history/"])


import re

Expand All @@ -118,7 +116,11 @@ def test(card="novus100g"):
)

def generate_allure_report():
run(["rm -rf $HOME/allure-report"])
if os.path.exists("$HOME/allure-report"):
run(["mkdir -p allure-results/history"])
run(["cp -r $HOME/allure-report/history/* allure-results/history/"])
run(["rm -rf $HOME/allure-report"])


run(
[
Expand Down

0 comments on commit 0c836ed

Please sign in to comment.