Skip to content

Fix bug

Fix bug #10

Workflow file for this run

name: Conda Environment and Pytest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: false
- name: Install Dependencies
run: |
echo "Initialize Conda"
source $CONDA/etc/profile.d/conda.sh
echo "Activating Conda environment"
conda activate /home/runner/work/edugrad/edugrad/.env
echo "Environment activated"
conda env update --file environment.yaml --prefix .env
pip install -e .
- name: Run Pytest
run: |
pytest tests/