Skip to content

Add github workflow for conda and pytest #27

Add github workflow for conda and pytest

Add github workflow for conda and pytest #27

Workflow file for this run

name: Edugrad CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
# checkout the code at the commit (incl. branch) that triggered the workflow
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: '.env'
environment-file: 'environment.yaml'
auto-activate-base: false
- name: Install Edugrad
run: |
pip install -e .
- name: Run Tests
shell: bash -l {0}
run: |
conda list
pytest tests