- Notifications
You must be signed in to change notification settings - Fork2
viprs==0.1.3 release#29
This file contains hidden or 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:Linux-CI | |
| on:[push, pull_request] | |
| jobs: | |
| build: | |
| runs-on:ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version:["3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| -name:Checkout code | |
| uses:actions/checkout@v4 | |
| -name:Set up miniconda | |
| uses:conda-incubator/setup-miniconda@v3 | |
| with: | |
| channels:conda-forge | |
| python-version:${{ matrix.python-version }} | |
| -name:Set up Conda environment | |
| shell:"bash -l {0}" | |
| run:> | |
| conda create --name "viprs_ci" -c conda-forge -c anaconda | |
| python=${{matrix.python-version}} pip wheel compilers openblas libcblas -y | |
| -name:Show info about `viprs_ci` environment | |
| shell:"bash -l {0}" | |
| run:| | |
| conda list --show-channel-urls -n viprs_ci | |
| -name:Install viprs | |
| shell:"bash -l {0}" | |
| run:| | |
| conda activate viprs_ci | |
| python -m pip install -v -e .[test] | |
| -name:Run tests | |
| shell:"bash -l {0}" | |
| run:| | |
| conda activate viprs_ci | |
| pytest -v |