cta-observatory / protopipe

Prototype data analysis pipeline for the Cherenkov Telescope Array Observatory
https://protopipe.readthedocs.io/en/latest/
Other
5 stars 13 forks source link

Point switcher JSON to its version on latest readthedocs build #199

Closed HealthyPear closed 2 years ago

HealthyPear commented 2 years ago

Hopefully, this closes #195.

The reason behind the malfunction might be a CORS (Cross-Origin Resource Sharing) issue: basically an issue in sharing URLs access between different APIs (in our case GitHub and readthedocs). During the build on readthedocs (in our case) it should be more safe to stay "there" when looking for reference files at specific URLs.

The documentation build from the CI should work anyways as it doesn't use the latest JSON file (the PR has a more predictable reference).

codecov[bot] commented 2 years ago

Codecov Report

Merging #199 (e8316a5) into master (6af0fab) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   63.11%   63.11%           
=======================================
  Files          28       28           
  Lines        2890     2890           
=======================================
  Hits         1824     1824           
  Misses       1066     1066           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6af0fab...e8316a5. Read the comment docs.