Skip to content

Try different env path #9

Try different env path

Try different env path #9

Workflow file for this run

name: Conda Environment and Pytest
on: [push, pull_request]
jobs:

Check failure on line 5 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 5
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/