Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0d03763 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed May 7, 2024
1 parent 4179d21 commit a4c8e52
Show file tree
Hide file tree
Showing 20 changed files with 155 additions and 109 deletions.
28 changes: 14 additions & 14 deletions coverage/class_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Coverage report</title>
<link rel="icon" sizes="32x32" href="favicon_32.png">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="coverage_html.js" defer></script>
<link rel="icon" sizes="32x32" href="favicon_32_cb_58284776.png">
<link rel="stylesheet" href="style_cb_8e611ae1.css" type="text/css">
<script src="coverage_html_cb_da166b87.js" defer></script>
</head>
<body class="indexfile">
<header>
Expand All @@ -16,7 +16,7 @@ <h1>Coverage report:
<aside id="help_panel_wrapper">
<input id="help_panel_state" type="checkbox">
<label for="help_panel_state">
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts">
<img id="keyboard_icon" src="keybd_closed_cb_ce680311.png" alt="Show/hide keyboard shortcuts">
</label>
<div id="help_panel">
<p class="legend">Shortcuts on this page</p>
Expand Down Expand Up @@ -54,21 +54,21 @@ <h2>
<a class="button current">Classes</a>
</h2>
<p class="text">
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
</header>
<main id="index">
<table class="index" data-sortable>
<thead>
<tr class="tablehead" title="Click to sort">
<th class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">class<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
<th id="file" class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th id="region" class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">class<span class="arrows"></span></th>
<th id="statements" aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th id="missing" aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th id="excluded" aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th id="coverage" class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -179,8 +179,8 @@ <h2>
<footer>
<div class="content">
<p>
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
<aside class="hidden">
Expand Down
4 changes: 2 additions & 2 deletions coverage/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<coverage version="7.5.0" timestamp="1714489421127" lines-valid="431" lines-covered="311" line-rate="0.7216" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.0 -->
<coverage version="7.5.1" timestamp="1715071491250" lines-valid="431" lines-covered="311" line-rate="0.7216" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.1 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
<source>/home/user/actions-runner/_work/biobb_cp2k/biobb_cp2k</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,32 @@ function sortColumn(th) {
.forEach(tr => tr.parentElement.appendChild(tr));

// Save the sort order for next time.
localStorage.setItem(coverage.INDEX_SORT_STORAGE, JSON.stringify({column, direction}));
if (th.id !== "region") {
let th_id = "file"; // Sort by file if we don't have a column id
let current_direction = direction;
const stored_list = localStorage.getItem(coverage.INDEX_SORT_STORAGE);
if (stored_list) {
({th_id, direction} = JSON.parse(stored_list))
}
localStorage.setItem(coverage.INDEX_SORT_STORAGE, JSON.stringify({
"th_id": th.id,
"direction": current_direction
}));
if (th.id !== th_id || document.getElementById("region")) {
// Sort column has changed, unset sorting by function or class.
localStorage.setItem(coverage.SORTED_BY_REGION, JSON.stringify({
"by_region": false,
"region_direction": current_direction
}));
}
}
else {
// Sort column has changed to by function or class, remember that.
localStorage.setItem(coverage.SORTED_BY_REGION, JSON.stringify({
"by_region": true,
"region_direction": direction
}));
}
}

// Find all the elements with data-shortcut attribute, and use them to assign a shortcut key.
Expand Down Expand Up @@ -223,18 +248,39 @@ coverage.wire_up_sorting = function () {
);

// Look for a localStorage item containing previous sort settings:
var column = 0, direction = "ascending";
let th_id = "file", direction = "ascending";
const stored_list = localStorage.getItem(coverage.INDEX_SORT_STORAGE);
if (stored_list) {
({column, direction} = JSON.parse(stored_list));
({th_id, direction} = JSON.parse(stored_list));
}
let by_region = false, region_direction = "ascending";
const sorted_by_region = localStorage.getItem(coverage.SORTED_BY_REGION);
if (sorted_by_region) {
({
by_region,
region_direction
} = JSON.parse(sorted_by_region));
}

const th = document.querySelector("[data-sortable]").tHead.rows[0].cells[column]; // nosemgrep: eslint.detect-object-injection
const region_id = "region";
if (by_region && document.getElementById(region_id)) {
direction = region_direction;
}
// If we are in a page that has a column with id of "region", sort on
// it if the last sort was by function or class.
let th;
if (document.getElementById(region_id)) {
th = document.getElementById(by_region ? region_id : th_id);
}
else {
th = document.getElementById(th_id);
}
th.setAttribute("aria-sort", direction === "ascending" ? "descending" : "ascending");
th.click()
};

coverage.INDEX_SORT_STORAGE = "COVERAGE_INDEX_SORT_2";
coverage.SORTED_BY_REGION = "COVERAGE_SORT_REGION";

// Loaded on index.html
coverage.index_ready = function () {
Expand Down
File renamed without changes
28 changes: 14 additions & 14 deletions coverage/function_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Coverage report</title>
<link rel="icon" sizes="32x32" href="favicon_32.png">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="coverage_html.js" defer></script>
<link rel="icon" sizes="32x32" href="favicon_32_cb_58284776.png">
<link rel="stylesheet" href="style_cb_8e611ae1.css" type="text/css">
<script src="coverage_html_cb_da166b87.js" defer></script>
</head>
<body class="indexfile">
<header>
Expand All @@ -16,7 +16,7 @@ <h1>Coverage report:
<aside id="help_panel_wrapper">
<input id="help_panel_state" type="checkbox">
<label for="help_panel_state">
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts">
<img id="keyboard_icon" src="keybd_closed_cb_ce680311.png" alt="Show/hide keyboard shortcuts">
</label>
<div id="help_panel">
<p class="legend">Shortcuts on this page</p>
Expand Down Expand Up @@ -54,21 +54,21 @@ <h2>
<a class="button" href="class_index.html">Classes</a>
</h2>
<p class="text">
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
</header>
<main id="index">
<table class="index" data-sortable>
<thead>
<tr class="tablehead" title="Click to sort">
<th class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">function<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
<th id="file" class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th id="region" class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">function<span class="arrows"></span></th>
<th id="statements" aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th id="missing" aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th id="excluded" aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th id="coverage" class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -347,8 +347,8 @@ <h2>
<footer>
<div class="content">
<p>
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
<aside class="hidden">
Expand Down
26 changes: 13 additions & 13 deletions coverage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Coverage report</title>
<link rel="icon" sizes="32x32" href="favicon_32.png">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="coverage_html.js" defer></script>
<link rel="icon" sizes="32x32" href="favicon_32_cb_58284776.png">
<link rel="stylesheet" href="style_cb_8e611ae1.css" type="text/css">
<script src="coverage_html_cb_da166b87.js" defer></script>
</head>
<body class="indexfile">
<header>
Expand All @@ -16,7 +16,7 @@ <h1>Coverage report:
<aside id="help_panel_wrapper">
<input id="help_panel_state" type="checkbox">
<label for="help_panel_state">
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts">
<img id="keyboard_icon" src="keybd_closed_cb_ce680311.png" alt="Show/hide keyboard shortcuts">
</label>
<div id="help_panel">
<p class="legend">Shortcuts on this page</p>
Expand Down Expand Up @@ -53,20 +53,20 @@ <h2>
<a class="button" href="class_index.html">Classes</a>
</h2>
<p class="text">
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
</header>
<main id="index">
<table class="index" data-sortable>
<thead>
<tr class="tablehead" title="Click to sort">
<th class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
<th id="file" class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th>
<th id="statements" aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th>
<th id="missing" aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th>
<th id="excluded" aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th>
<th id="coverage" class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -137,8 +137,8 @@ <h2>
<footer>
<div class="content">
<p>
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.0">coverage.py v7.5.0</a>,
created at 2024-04-30 15:03 +0000
<a class="nav" href="https://coverage.readthedocs.io/en/7.5.1">coverage.py v7.5.1</a>,
created at 2024-05-07 08:44 +0000
</p>
</div>
<aside class="hidden">
Expand Down
File renamed without changes
Binary file removed coverage/keybd_open.png
Binary file not shown.
2 changes: 1 addition & 1 deletion coverage/status.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"note":"This file is an internal implementation detail to speed up HTML report generation. Its format can change at any time. You might be looking for the JSON report: https://coverage.rtfd.io/cmd.html#cmd-json","format":5,"version":"7.5.0","globals":"62a95931b6c6cf0a7c2d534ec03c5f02","files":{"z_2013e641c2412851___init___py":{"hash":"676b5d89be011f2ac580d6cd04853b0b","index":{"url":"z_2013e641c2412851___init___py.html","file":"biobb_cp2k/__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":3,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f___init___py":{"hash":"db6b06779e421a46d9a6372ec5102f2e","index":{"url":"z_d3f8250a0d9fde9f___init___py.html","file":"biobb_cp2k/cp2k/__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":2,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_common_py":{"hash":"58ba2f459483638c4edfcb73e7dbe0de","index":{"url":"z_d3f8250a0d9fde9f_common_py.html","file":"biobb_cp2k/cp2k/common.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":28,"n_excluded":0,"n_missing":10,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_cp2k_prep_py":{"hash":"5cc1f9812d68c6b0d8330649f2ddce60","index":{"url":"z_d3f8250a0d9fde9f_cp2k_prep_py.html","file":"biobb_cp2k/cp2k/cp2k_prep.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":285,"n_excluded":0,"n_missing":86,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_cp2k_run_py":{"hash":"e233aa32d25270ff9ffc1ce15612f754","index":{"url":"z_d3f8250a0d9fde9f_cp2k_run_py.html","file":"biobb_cp2k/cp2k/cp2k_run.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":88,"n_excluded":0,"n_missing":24,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_ea7021891440d755_test_cp2k_prep_py":{"hash":"d14f96fadc227f6f95d010619698a3c8","index":{"url":"z_ea7021891440d755_test_cp2k_prep_py.html","file":"biobb_cp2k/test/unitests/test_cp2k/test_cp2k_prep.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":12,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_ea7021891440d755_test_cp2k_run_py":{"hash":"edaaf52c10a854711f7e853c79248ca5","index":{"url":"z_ea7021891440d755_test_cp2k_run_py.html","file":"biobb_cp2k/test/unitests/test_cp2k/test_cp2k_run.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":13,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}}}}
{"note":"This file is an internal implementation detail to speed up HTML report generation. Its format can change at any time. You might be looking for the JSON report: https://coverage.rtfd.io/cmd.html#cmd-json","format":5,"version":"7.5.1","globals":"4d02acd621575c4ac95fe32c5e9ce927","files":{"z_2013e641c2412851___init___py":{"hash":"676b5d89be011f2ac580d6cd04853b0b","index":{"url":"z_2013e641c2412851___init___py.html","file":"biobb_cp2k/__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":3,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f___init___py":{"hash":"db6b06779e421a46d9a6372ec5102f2e","index":{"url":"z_d3f8250a0d9fde9f___init___py.html","file":"biobb_cp2k/cp2k/__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":2,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_common_py":{"hash":"58ba2f459483638c4edfcb73e7dbe0de","index":{"url":"z_d3f8250a0d9fde9f_common_py.html","file":"biobb_cp2k/cp2k/common.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":28,"n_excluded":0,"n_missing":10,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_cp2k_prep_py":{"hash":"5cc1f9812d68c6b0d8330649f2ddce60","index":{"url":"z_d3f8250a0d9fde9f_cp2k_prep_py.html","file":"biobb_cp2k/cp2k/cp2k_prep.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":285,"n_excluded":0,"n_missing":86,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_d3f8250a0d9fde9f_cp2k_run_py":{"hash":"e233aa32d25270ff9ffc1ce15612f754","index":{"url":"z_d3f8250a0d9fde9f_cp2k_run_py.html","file":"biobb_cp2k/cp2k/cp2k_run.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":88,"n_excluded":0,"n_missing":24,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_ea7021891440d755_test_cp2k_prep_py":{"hash":"d14f96fadc227f6f95d010619698a3c8","index":{"url":"z_ea7021891440d755_test_cp2k_prep_py.html","file":"biobb_cp2k/test/unitests/test_cp2k/test_cp2k_prep.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":12,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_ea7021891440d755_test_cp2k_run_py":{"hash":"edaaf52c10a854711f7e853c79248ca5","index":{"url":"z_ea7021891440d755_test_cp2k_run_py.html","file":"biobb_cp2k/test/unitests/test_cp2k/test_cp2k_run.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":13,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}}}}
File renamed without changes.
Loading

0 comments on commit a4c8e52

Please sign in to comment.