Skip to content

Build update

Build update #24

Workflow file for this run

name: build
on:
push:
pull_request:
env:
# USE UTF8 ENCODING. SHOULD BE DEFAULT, BUT THIS IS INSURANCE AGAINST FUTURE CHANGES
PYTHONIOENCODING: UTF8
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
defaults:
run:
shell: bash -l {0}
steps:
- name: checkout code
uses: actions/checkout@v2
- name: install conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: '3.11'
channels: conda-forge
- name: install dependencies
run: |
pip install numpy astropy crds matplotlib scipy stistools
- name: run build
run: |
pip install .
- name: run tests
run: |
pytest -v