Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use --no-build-isolation to instal cgat #77

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 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,14 @@ jobs:
python-version: 3.11
- name: Installing the Documentation requirements
run: |
pip3 install .[docs]
# Install build dependencies for now (see
# https://github.com/cgat-developers/cgat-apps/issues/134#issuecomment-2503431974)
pip install numpy
pip install Cython
pip install pysam
pip install wheel
pip install --no-build-isolation git+https://github.com/cgat-developers/cgat-apps@AC-modifybuild
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
14 changes: 9 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest"] # "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
Expand All @@ -40,11 +40,15 @@ jobs:
pip install --upgrade virtualenv
pip install --upgrade pip setuptools
virtualenv --upgrade-embed-wheels
# Install build dependencies for now (see
# https://github.com/cgat-developers/cgat-apps/issues/134#issuecomment-2503431974)
pip install numpy
pip show numpy
pip install cgatcore
pip install cgat
pip install -e .[tests]
pip install Cython
pip install pysam
pip install wheel
pip install --no-build-isolation cgatcore
pip install --no-build-isolation git+https://github.com/cgat-developers/cgat-apps@AC-modifybuild
pip install --no-build-isolation -e .[tests]
- name: Test with pytest
run: |
pytest --cov=isoslam --cov-report=xml --mpl -x
Expand Down
Loading