Skip to content

Conversation

@chloeann95
Copy link
Contributor

@chloeann95 chloeann95 commented Feb 27, 2023

closes #51

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see inline comments.

repository: diffpy/diffpy.pdfmorph
# for bookkeeping have diffpy.pdfmorph at the same level as everything else in the
# directory tree
path: diffpy.pdfmorph
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's start as easy as possible, so change this to

          path: .

# environment.yml file is needed by this action. Because I don't want
# maintain this but rather maintain the requirements files it just has
# basic things in it like conda and pip
environment-file: diffpy.pdfmorph/environment.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then I think this would be ./environment.yml

shell: bash -l {0}
run: |
conda config --set always_yes yes --set changeps1 no
cd diffpy.pdfmorph
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this for now (cd diffpy.pdfmorph) but add
conda config --add channels conda-forge

run: |
cd diffpy.pdfmorph/diffpy/pdfmorph
conda activate test
pytest tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will need to insert here a line cd ./diffpy/pdfmorph before the pytest row.

scipy
diffpy.utils
matplotlib
bg-mpl-stylesheets
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be better to do this on a different branch so we can merge it separately (and first)

@sbillinge sbillinge merged commit d563ea5 into diffpy:main Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make GH Actions CI

2 participants