Skip to content

Commit

Permalink
ci: Use --no-build-isolation to instal cgat
Browse files Browse the repository at this point in the history
As [suggested](cgat-developers/cgat-apps#134 (comment)) attempting to install
dependencies (and in one instance `IsoSLAM` itself) with the `--no-build-isolation` flag in the hope that NumPy is
correctly detected by `cgat` when it is built and installed.
  • Loading branch information
ns-rse committed Nov 27, 2024
1 parent 1627ee7 commit a6abe98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sphinx_docs_to_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: 3.11
- name: Installing the Documentation requirements
run: |
pip3 install .[docs]
pip3 install --no-build-isolation .[docs]
- name: Running Sphinx to gh-pages Action
# Uncomment if only tagged releases are to have documentation built
# if: startsWith(github.ref, 'refs/tags')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
virtualenv --upgrade-embed-wheels
pip install numpy
pip show numpy
pip install cgatcore
pip install cgat
pip install --no-build-isolation cgatcore
pip install --no-build-isolation cgat
pip install -e .[tests]
- name: Test with pytest
run: |
Expand Down

0 comments on commit a6abe98

Please sign in to comment.