Skip to content

FIX installation

FIX installation #76

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
tests:
name: linux-cp${{ matrix.python-version }}-${{ matrix.OPTIONS_NAME }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.7, 3.8, 3.9]
PIP_FLAGS: [""]
MINIMUM_REQUIREMENTS: [0]
include:
- platform_id: manylinux_x86_64
python-version: 3.7
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "min"
- platform_id: manylinux_x86_64
python-version: 3.9
PIP_FLAGS: "--pre"
# test pre-releases
OPTIONS_NAME: "pre"
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version}}
- name: Installation of the package
shell: bash -l {0}
run: |
set -ex
source .github/workflows/before_install.sh
set -ex
make install
- name: Run the tests
shell: bash -l {0}
run: |
source .github/workflows/test_script.sh
# Now, run the HiC-pro example with the corresponding tests.
pushd examples/HiC-pro
bash launch_tests.sh
popd
- name: Build the documentation
shell: bash -l {0}
run: |
pip install -r requirements/docs.txt
pushd doc
# FIXME let's give up on warnings for now
make html # SPHINXOPTS="-W"
touch _build/html/.nojekyll