move to docs #112
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
# this file is *not* meant to cover or endorse the use of GitHub Actions, but rather to | |
# help test this project | |
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python: ['3.10'] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install pysap | |
run: | | |
python -m pip install --upgrade pip wheel | |
python -m pip install git+https://github.com/CEA-COSMIC/ModOpt.git@develop | |
cd .. | |
git clone -b develop https://github.com/CEA-COSMIC/pysap.git | |
cd pysap | |
python -m pip install pyqt5 | |
python setup.py install --nosparse2d | |
cd ../simfmri | |
- name: Install test dependencies | |
run: | | |
python -m pip install git+https://github.com/paquiteau/pysap-fmri | |
python -m pip install .[test] matplotlib | |
- name: Test | |
run: pytest |