Skip to content

Commit

Permalink
Merge pull request #843 from cta-observatory/fix_docs_builds
Browse files Browse the repository at this point in the history
Fix gammapy compilation in docs CI, fixes #842
  • Loading branch information
moralejo authored Jan 3, 2022
2 parents 1d65a6d + efc1c7e commit cf5bfe7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ jobs:
run: |
sudo apt update --yes && sudo apt install --yes git build-essential pandoc graphviz
pip install -U pip setuptools wheel
# hotfix for gammapy being build against a too recent numpy,
# remove after updating to gammapy 0.19
pip install 'numpy~=1.20.3' Cython 'setuptools_scm[toml]'
pip install --no-build-isolation 'gammapy~=0.18.2'
# end hotfix for gammapy
pip install -e .[docs]
git describe --tags
python -c 'import lstchain; print(lstchain.__version__)'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.hypothesis
test_data
.pytest_cache
_version.py
Expand Down

0 comments on commit cf5bfe7

Please sign in to comment.