| 1 |
name: Integration Tests |
| 2 |
on: |
| 3 |
push: |
| 4 |
branches: |
| 5 |
- master |
| 6 |
paths-ignore: |
| 7 |
- 'docs/**' |
| 8 |
- '*.md' |
| 9 |
- '*.rst' |
| 10 |
pull_request: |
| 11 |
paths-ignore: |
| 12 |
- 'docs/**' |
| 13 |
- '*.md' |
| 14 |
- '*.rst' |
| 15 |
|
| 16 |
jobs: |
| 17 |
integration-tests: |
| 18 |
name: Integration Tests |
| 19 |
runs-on: ubuntu-latest |
| 20 |
steps: |
| 21 |
- uses: actions/checkout@v4 |
| 22 |
|
| 23 |
- uses: actions/setup-python@v5 |
| 24 |
with: |
| 25 |
python-version: '3.12' |
| 26 |
cache: 'pip' |
| 27 |
cache-dependency-path: 'requirements/*.txt' |
| 28 |
|
| 29 |
- name: Install system dependencies |
| 30 |
run: | |
| 31 |
sudo apt-get update |
| 32 |
sudo apt-get install -y liblzma-dev python3-dev r-bioc-dnacopy zlib1g-dev poppler-utils |
| 33 |
|
| 34 |
- name: Install Python dependencies |
| 35 |
run: | |
| 36 |
python -m pip install -U pip setuptools wheel |
| 37 |
pip install -r requirements/tests.txt |
| 38 |
pip install -e . |
| 39 |
|
| 40 |
- name: Run integration tests |
| 41 |
run: | |
| 42 |
cd test/ |
| 43 |
make clean |
| 44 |
make mini |
| 45 |
env: |
| 46 |
# Use system Python and R executables |
| 47 |
python_exe: python3 |
| 48 |
rscript_exe: Rscript |