Add option to set a fixed dithering amount #332
Workflow file for this run
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
name: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: null | |
jobs: | |
tests: | |
name: tests | |
strategy: | |
matrix: | |
pyver: ["3.11"] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.pyver }} | |
channels: conda-forge | |
channel-priority: strict | |
show-channel-urls: true | |
- name: roll back libmamba? | |
shell: bash -l {0} | |
run: | | |
conda activate base | |
conda list | |
conda install "libmamba<2" --yes | |
- name: configure conda and install code | |
shell: bash -l {0} | |
run: | | |
wget https://www.cosmo.bnl.gov/www/esheldon/data/catsim.tar.gz | |
tar xvfz catsim.tar.gz | |
export CATSIM_DIR=$(realpath catsim) | |
conda config --set always_yes yes | |
conda install -q mamba==1.5.1 | |
mamba install -q --file requirements.txt | |
mamba install -q \ | |
flake8 \ | |
pytest \ | |
fitsio \ | |
ngmix | |
pip install --no-deps -e . | |
- name: env and package versions | |
shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: lint | |
shell: bash -l {0} | |
run: | | |
flake8 descwl_shear_sims | |
- name: test | |
shell: bash -l {0} | |
run: | | |
wget https://www.cosmo.bnl.gov/www/esheldon/data/catsim.tar.gz | |
tar xvfz catsim.tar.gz | |
export CATSIM_DIR=$(realpath catsim) | |
pytest -vv --ignore descwl_shear_sims/tests/test_correlated_noise.py descwl_shear_sims |