diff --git a/.ci-scripts/run-integration-test.yml b/.ci-scripts/run-integration-test.yml index e66dc086e73484b99be3d0b5208859b50ea8edec..cb2584232b27061dd1e4e29d62819d665887fca4 100644 --- a/.ci-scripts/run-integration-test.yml +++ b/.ci-scripts/run-integration-test.yml @@ -48,10 +48,7 @@ run-integration-test: - ./${DIR_DESIGN_EVALUATOR} ## - Compare results - cd ${CI_PROJECT_DIR} && cp ${CI_PROJECT_DIR}/.ci-scripts/utils/evaluate_designEvaluator_results.py . - - | - python3 evaluate_designEvaluator_results.py \ - --file ${DIR_DESIGN_EVALUATOR}/design_evaluator_report.html \ - || EXIT_CODE=$? + - python3 evaluate_designEvaluator_results.py --file ${DIR_DESIGN_EVALUATOR}/design_evaluator_report.html || EXIT_CODE=$? ## Cleanup - if [ -d "${DIR_UNICADO}" ]; then rm -rf ${DIR_UNICADO}; fi diff --git a/.ci-scripts/utils/evaluate_designEvaluator_results.py b/.ci-scripts/utils/evaluate_designEvaluator_results.py index 9ab90bc02d344f9806c3c29885247653cc757075..9c9bf004fb460b685eba8e57d92c06f97615ba2a 100644 --- a/.ci-scripts/utils/evaluate_designEvaluator_results.py +++ b/.ci-scripts/utils/evaluate_designEvaluator_results.py @@ -9,7 +9,7 @@ import sys def check_html_file(html_file): # Load and parse the HTML file with BeautifulSoup with open(html_file, 'r') as file: - soup = BeautifulSoup(file, 'lxml') + soup = BeautifulSoup(file, 'html.parser') # Find all tables in the HTML file (in case there are multiple) tables = soup.find_all('table')