Skip to content

Merge pull request #57 from LSSTDESC/fix_SRD_nz #238

Merge pull request #57 from LSSTDESC/fix_SRD_nz

Merge pull request #57 from LSSTDESC/fix_SRD_nz #238

name: flake8 pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v2
with:
path: augur
- name: Install dependencies
shell: bash -l {0}
run: |
conda env update -q -v -n forecasting -f augur/environment.yml
conda activate forecasting
cd augur
python -m pip install --no-deps --editable .
- name: flake8
shell: bash -l {0}
run: |
conda activate forecasting
flake8 augur --max-line-length=100 --count --show-source --statistics
- name: pytest
shell: bash -l {0}
run: |
conda activate forecasting
cd augur
pytest .