test with 55 pixels #769
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: CI | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| tags: | |
| - "**" | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04] | |
| pyv: [ '3.10','3.11', '3.12', '3.13'] | |
| max-parallel: 5 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.pyv }} | |
| run: | | |
| # Install Miniconda | |
| wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | |
| bash miniconda.sh -b -p $HOME/miniconda | |
| echo "$HOME/miniconda/bin" >> $GITHUB_PATH | |
| source $HOME/miniconda/bin/activate | |
| # Install Mamba via conda (since we don't have mamba yet) | |
| $HOME/miniconda/bin/conda config --add channels conda-forge | |
| $HOME/miniconda/bin/conda install -y mamba=2.0.8 | |
| mamba install -y python=${{ matrix.pyv }} | |
| - name: Add MKL_THREADING_LAYER variable | |
| run: echo "MKL_THREADING_LAYER=GNU" >> $GITHUB_ENV | |
| - name: Install dependencies with Mamba | |
| run: | | |
| source $HOME/miniconda/bin/activate | |
| mamba env update --file environment.yml --name base | |
| - name: Lint with flake8 | |
| run: | | |
| source $HOME/miniconda/bin/activate | |
| mamba install flake8 | |
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
| - name: Install with pip | |
| run: | | |
| pip install -e . | |
| - name: Test with pytest | |
| run: | | |
| source $HOME/miniconda/bin/activate | |
| mamba install pytest | |
| pytest |