Skip to content

Commit

Permalink
Merge pull request #16 from NREL/requires_refactor
Browse files Browse the repository at this point in the history
try build without conda
  • Loading branch information
pstjohn committed Dec 3, 2021
2 parents 8324e88 + cc1fe5f commit 0fd16c4
Show file tree
Hide file tree
Showing 42 changed files with 327 additions and 823 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/run_tests_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,27 @@ jobs:
python-version: [ 3.7, 3.8, 3.9 ]

steps:
- uses: actions/checkout@v1
- name: Additional info about the build
-
uses: actions/checkout@v1
-
name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/setup-miniconda@v2
-
name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
channels: conda-forge
activate-environment: test
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
environment-file: etc/environment.yml

- name: Install package
# conda setup requires this special shell
shell: bash -l {0}
run: |
python -m pip install . --no-deps
conda list
- name: Run tests
shell: bash -l {0}
-
name: Install package
run: python -m pip install .[rdkit,tf,pymatgen,test]
-
name: Run tests
run: pytest tests/


release:
needs: test
if: startsWith(github.ref, 'refs/tags')
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ instance/

# Sphinx documentation
docs/_build/
docs/_autosummary/

# PyBuilder
target/
Expand Down
23 changes: 0 additions & 23 deletions docs/_autosummary/nfp.layers.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/_autosummary/nfp.models.losses.masked_log_cosh.rst

This file was deleted.

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions docs/_autosummary/nfp.models.losses.rst

This file was deleted.

30 changes: 0 additions & 30 deletions docs/_autosummary/nfp.models.rst

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions docs/_autosummary/nfp.preprocessing.crystal_preprocessor.rst

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions docs/_autosummary/nfp.preprocessing.features.rst

This file was deleted.

This file was deleted.

0 comments on commit 0fd16c4

Please sign in to comment.