Skip to content

PARSEC Bug Fixes and Updates from First Round of Focus Testing #56

PARSEC Bug Fixes and Updates from First Round of Focus Testing

PARSEC Bug Fixes and Updates from First Round of Focus Testing #56

Workflow file for this run

name: Python Package using Conda
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
path: dsa110-pol
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file $GITHUB_WORKSPACE/dsa110-pol/environment.yml --name base
- name: Install
run: |
cd $GITHUB_WORKSPACE/dsa110-pol ; git fetch --tags --force ; python setup.py install
- name: Test with pytest
run: |
conda install pytest
pytest $GITHUB_WORKSPACE/dsa110-pol/tests