Skip to content

Commit

Permalink
TST: Use conda activate
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim authored Jan 4, 2020
1 parent 2683894 commit c0023de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ make_env: &make_env
name: Make workshop environment
command: |
conda env create -n astropy-workshop --file 00-Install_and_Setup/environment.yml
source activate astropy-workshop
conda activate astropy-workshop
pip install -r .circleci/dev-requirements.txt
pip install git+https://github.com/adrn/nbstatic
python -m ipykernel install --user --name astropy-workshop
execute_nb: &execute_nb
name: Execute the notebooks
command: |
source activate astropy-workshop
conda activate astropy-workshop
which python
python -m nbstatic execute .
convert_nb: &convert_nb
name: Convert the notebooks to HTML
command: |
source activate astropy-workshop
conda activate astropy-workshop
which python
python -m nbstatic convert .
Expand Down

0 comments on commit c0023de

Please sign in to comment.