-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add examples and move loggers after imports
- Loading branch information
Showing
15 changed files
with
1,355 additions
and
1,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,12 +27,10 @@ jobs: | |
pip install tox tox-gh-actions | ||
- name: Test generator and physics output | ||
run: tox | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/codecov-action@v2 | ||
# - name: Generate Report | ||
# run: | | ||
# pip install coverage | ||
# coverage run -m pytest | ||
# - name: Setup tmate session | ||
# if: success() || failure() | ||
# uses: mxschmitt/action-tmate@v3 | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage.xml # Specify your coverage file location if needed | ||
flags: unittests # Optional: Helps to tag results for more detail | ||
fail_ci_if_error: false # Optional: Don't fail the CI if Codecov fails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="0" skipped="1" tests="15" time="78.531" timestamp="2024-10-03T17:30:46.438716-05:00" hostname="matheuss-mbp-2.guest-network.net"><testcase classname="tests.test_inputs" name="test_ModelContainer_default" file="tests/test_inputs.py" line="12" time="0.023" /><testcase classname="tests.test_inputs" name="test_input_parameter_files" file="tests/test_inputs.py" line="27" time="0.036" /><testcase classname="tests.test_inputs" name="test_argparse" file="tests/test_inputs.py" line="35" time="0.075" /><testcase classname="tests.test_physics" name="test_MB_benchmarks" file="tests/test_physics.py" line="19" time="1.398" /><testcase classname="tests.test_physics" name="test_MB_SM" file="tests/test_physics.py" line="37" time="0.452" /><testcase classname="tests.test_physics" name="test_MB_other_final_states" file="tests/test_physics.py" line="43" time="1.841" /><testcase classname="tests.test_physics" name="test_MB_generic_model" file="tests/test_physics.py" line="73" time="10.180" /><testcase classname="tests.test_physics" name="test_MB_dirt" file="tests/test_physics.py" line="91" time="2.592" /><testcase classname="tests.test_physics" name="test_portal_vs_simplified" file="tests/test_physics.py" line="113" time="0.936" /><testcase classname="tests.test_physics" name="test_xsecs" file="tests/test_physics.py" line="122" time="3.096" /><testcase classname="tests.test_physics" name="test_geometries" file="tests/test_physics.py" line="219" time="0.487" /><testcase classname="tests.test_readoutputs" name="test_output" file="tests/test_readoutputs.py" line="11" time="21.431" /><testcase classname="tests.test_scripts" name="test_dn_gen" file="tests/test_scripts.py" line="9" time="29.702" /><testcase classname="tests.test_scripts" name="test_python_call_to_dngen" file="tests/test_scripts.py" line="28" time="6.217" /><testcase classname="tests.test_scripts" name="test_examples_download" file="tests/test_scripts.py" line="33" time="0.003"><skipped type="pytest.skip" message="Still need to find a way to set up git for venvs">/Users/mhostert/Repos/DarkNews-generator/tests/test_scripts.py:34: Still need to find a way to set up git for venvs</skipped></testcase></testsuite></testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters