Skip to content

use anterior version of macos #16

use anterior version of macos

use anterior version of macos #16

Workflow file for this run

name: Test
on: [push, pull_request]
defaults:
run:
shell: bash -l {0}
jobs:
test-linux:
name: Test on Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use python ${{ matrix.python-version }}
run: echo -e "\n - python = ${{ matrix.python-version }}" >> ./HiCMatrix_env_ci.yml
- uses: mamba-org/setup-micromamba@main
with:
environment-file: ./HiCMatrix_env_ci.yml
cache-downloads: true
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}
test-osx:
name: Test on OSX
runs-on: macos-12 # which is Intel and supported by bioconda macOS-latest is Apple silicon.
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Use python ${{ matrix.python-version }}
run: echo -e "\n - python = ${{ matrix.python-version }}" >> ./HiCMatrix_env_ci.yml
- uses: mamba-org/setup-micromamba@main
with:
environment-file: ./HiCMatrix_env_ci.yml
cache-downloads: false
environment-name: HiCMatrix_env_ci
- name: pip install
run: |
python3 -m pip install .
shell: micromamba-shell {0}
- name: Test HiCMatrix
run: |
py.test hicmatrix/test/ --capture=sys
shell: micromamba-shell {0}