-
Notifications
You must be signed in to change notification settings - Fork 19
56 lines (49 loc) · 1.48 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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.9", "3.10", "3.11", "3.12"]
PIP_FLAGS: [""]
MINIMUM_REQUIREMENTS: [0]
include:
- platform_id: manylinux_x86_64
python-version: 3.7
MINIMUM_REQUIREMENTS: 1
OPTIONS_NAME: "min"
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