MAINT: Prep for 0.8.1 #87
Workflow file for this run
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: unittests | |
| on: | |
| pull_request: | |
| push: | |
| branches: master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| channels: conda-forge | |
| - name: Installations | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install octave | |
| conda --version | |
| which python | |
| pip install . | |
| pip install flake8 check-manifest | |
| pip install pytest coverage pytest-sugar | |
| - name: Run Python unit tests | |
| run: | | |
| make | |
| flake8 --count picard | |
| - name: Run Octave unit tests | |
| run: | | |
| cd examples/matlab_octave | |
| octave plot_ica.m | |
| octave plot_ica_whiten.m | |
| octave plot_ica_pca.m | |
| - name: Upload coverage | |
| run: | | |
| bash <(curl -s https://codecov.io/bash) |