-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update to nagl main and add new charge models * add charge checkpoint files * update workflows and lint * run isort * fix lint action, update env for missing nagl deps * fix pip install command * remove plugin tests for now, fix lint install * update lint workflow * fix python setup * fix flake8 errors
- Loading branch information
Showing
26 changed files
with
1,570 additions
and
1,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ jobs: | |
matrix: | ||
cfg: | ||
- conda-env: env | ||
python-version: 3.8 | ||
python-version: 3.11 | ||
os: ubuntu-latest | ||
|
||
- conda-env: env | ||
python-version: 3.8 | ||
python-version: 3.11 | ||
os: macOS-latest | ||
|
||
env: | ||
|
@@ -42,18 +42,10 @@ jobs: | |
ulimit -a | ||
- name: Create Environment | ||
uses: conda-incubator/setup-[email protected] | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
activate-environment: test | ||
environment-file: devtools/conda-envs/${{ matrix.cfg.conda-env }}.yaml | ||
python-version: ${{ matrix.cfg.python-version }} | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
show-channel-urls: true | ||
mamba-version: "*" | ||
miniforge-version: latest | ||
miniforge-variant: Mambaforge | ||
use-mamba: true | ||
create-args: python=${{ matrix.python-version }} | ||
|
||
- name: Environment Information | ||
shell: bash -l {0} | ||
|
@@ -64,12 +56,12 @@ jobs: | |
- name: Install NAGL-MBIS | ||
shell: bash -l {0} | ||
run: | | ||
python setup.py develop --no-deps | ||
pip install -e . --no-build-isolation | ||
- name: PyTest | ||
shell: bash -l {0} | ||
run: | | ||
pytest -v --cov=naglmbis --cov-config=setup.cfg naglmbis/tests/ --cov-report=xml | ||
pytest -v --cov=naglmbis --cov-config=pyproject.toml naglmbis/tests/ --cov-report=xml --color=yes | ||
- name: Codecov | ||
uses: codecov/codecov-action@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.