Enable coadding PSF at random location #207
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: tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: null | |
| jobs: | |
| tests: | |
| name: tests | |
| strategy: | |
| matrix: | |
| pyver: ["3.13"] | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: free disk space | |
| run: | | |
| sudo mkdir -p /opt/empty_dir || true | |
| for d in \ | |
| /opt/ghc \ | |
| /opt/hostedtoolcache \ | |
| /usr/lib/jvm \ | |
| /usr/local/.ghcup \ | |
| /usr/local/lib/android \ | |
| /usr/local/share/powershell \ | |
| /usr/share/dotnet \ | |
| /usr/share/swift \ | |
| ; do | |
| sudo rsync --stats -a --delete /opt/empty_dir/ $d || true | |
| done | |
| BROWSERS="firefox google-chrome-stable microsoft-edge-stable" | |
| BROWSERS_TO_REMOVE=$(dpkg --get-selections $BROWSERS 2>/dev/null | awk '{print $1}') | |
| sudo apt-get remove --purge -y $BROWSERS_TO_REMOVE | |
| sudo apt-get autoremove -y >& /dev/null | |
| sudo apt-get autoclean -y >& /dev/null | |
| sudo docker image prune --all --force | |
| df -h | |
| - uses: actions/checkout@v2 | |
| - uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| python-version: ${{ matrix.pyver }} | |
| channels: conda-forge,defaults | |
| channel-priority: strict | |
| show-channel-urls: true | |
| miniforge-version: latest | |
| - name: Install special dependencies with conda and pip | |
| shell: bash -l {0} | |
| run: | | |
| conda config --set always_yes yes | |
| mamba install -q stackvana | |
| conda install -q \ | |
| flake8 \ | |
| pytest \ | |
| numpy \ | |
| "galsim>=2.3" \ | |
| "numba!=0.54.0" \ | |
| ngmix \ | |
| lsstdesc-weaklensingdeblending \ | |
| fitsio | |
| pip install --no-deps git+https://github.com/LSSTDESC/descwl-shear-sims.git | |
| - name: Lint with flake8 | |
| shell: bash -l {0} | |
| run: | | |
| flake8 descwl_coadd | |
| - name: Run pytest | |
| shell: bash -l {0} | |
| run: | | |
| pytest -vv descwl_coadd |