FIX installation #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |