Skip to content

Add unittests for pyiron_atomistics #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .ci_support/environment-mini.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
channels:
- conda-forge
dependencies:
- h5io_browser =0.1.2
- pint =0.24.3
9 changes: 9 additions & 0 deletions .ci_support/environment-pyiron-atomistics-0-6-12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
channels:
- conda-forge
dependencies:
- jupyter
- papermill
- pyiron-data =0.0.30
- pyiron_atomistics =0.6.12
- lammps =2024.02.07=*_openmpi_*
- sphinxdft =3.1
9 changes: 9 additions & 0 deletions .ci_support/environment-pyiron-atomistics-0-6-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
channels:
- conda-forge
dependencies:
- jupyter
- papermill
- pyiron-data =0.0.30
- pyiron_atomistics =0.6.13
- lammps =2024.02.07=*_openmpi_*
- sphinxdft =3.1
29 changes: 29 additions & 0 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Minimal pyiron_atomistics 0.6.13

on:
push:
branches: [ main ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
shell: bash -l {0}
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment-mini.yml
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: |
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests
29 changes: 29 additions & 0 deletions .github/workflows/pyiron_atomistics_tests_0_6_12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests for pyiron_atomistics 0.6.12

on:
push:
branches: [ main ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
shell: bash -l {0}
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment-pyiron-atomistics-0-6-12.yml
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: |
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests
29 changes: 29 additions & 0 deletions .github/workflows/pyiron_atomistics_tests_0_6_13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests for pyiron_atomistics 0.6.13

on:
push:
branches: [ main ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
shell: bash -l {0}
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment-pyiron-atomistics-0-6-13.yml
- name: Test
shell: bash -l {0}
timeout-minutes: 5
run: |
pip install versioneer[toml]==0.29
pip install . --no-deps --no-build-isolation
python -m unittest discover tests
5 changes: 5 additions & 0 deletions pyiron_dataclasses/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Internal init
from ._version import get_versions

# Set version of pyiron_base
__version__ = get_versions()["version"]
Loading
Loading