Build update #24
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: 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 |