Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
tostenzel committed Jan 1, 2024
1 parent 5e75412 commit beb808c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Conda Environment and Pytest
name: Edugrad CI

on: [push, pull_request]

Expand All @@ -7,24 +7,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout Repository
uses: actions/checkout@v2
with:
repository: 'tostenzel/edugrad'
ref: 'main'

- name: Setup Miniconda
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: '.env'
environment-file: 'environment.yaml'
auto-activate-base: false

- name: Install Dependencies
- name: Install Edugrad
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
- name: Run Tests
run: |
pytest tests/
pytest tests

0 comments on commit beb808c

Please sign in to comment.