gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Improve tests for building and command line applications #1062

Closed GernotMaier closed 1 month ago

GernotMaier commented 1 month ago

Add tests to prevent bugs encountered while working on deploy:

GernotMaier commented 1 month ago

Interesting: one of the new tests seems to find a new bug in pyproject.toml:

https://github.com/gammasim/simtools/actions/runs/9904103057/job/27360833966

GernotMaier commented 1 month ago

Remove the line scripts.simtools-production = "simtools.applications.production:main from pyproject.toml. There is no application called production (it is simulate_prod).

GernotMaier commented 1 month ago

Same for scripts.simtools-simulate-showers-for-trigger-rates, this application has been removed (simulate_prod provides the same functionality)

ctao-dpps-sonarqube[bot] commented 1 month ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 1 month ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 1 month ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube

ctao-dpps-sonarqube[bot] commented 1 month ago

Passed

Analysis Details

0 Issues

Coverage and Duplications

Project ID: gammasim_simtools_AY_ssha9WiFxsX-2oy_w

View in SonarQube