Skip to content
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

ci: try a simple ci.yaml (experiment) #272

Merged
merged 7 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from 6 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
12 changes: 1 addition & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}.*=*_cpython
gromacs==${{ matrix.gromacs-version }}

- name: Python version information ${{ matrix.python-version }}
run: |
Expand All @@ -94,17 +95,6 @@ jobs:
micromamba list
cat /proc/cpuinfo || (/usr/sbin/system_profiler SPHardwareDataType; /usr/sbin/sysctl -a | grep machdep.cpu)

- name: Install pytest and plugins
run: |
micromamba install pytest pytest-pep8 pytest-cov codecov

- name: Install GROMACS (${{ matrix.gromacs-version }})
orbeckst marked this conversation as resolved.
Show resolved Hide resolved
# UGLY HACK/FIX (probably to issues with bioconda packages)
# - For 3.9, micromamba insists on using pypy 3.9 (and --py-pin does not help).
# We can't freeze because then it's not possible to install older GROMACS versions from bioconda.
orbeckst marked this conversation as resolved.
Show resolved Hide resolved
run: |
micromamba install 'gromacs==${{ matrix.gromacs-version }}' pocl numkit python=${{ matrix.python-version }}.*=*_cpython

- name: Install package (with no dependencies)
run: |
python -m pip install --no-deps .
Expand Down
13 changes: 9 additions & 4 deletions ci/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: test
name: gromacs_wrapper
channels:
- conda-forge
dependencies:
- python
- numpy>=1.0
- matplotlib
- pandas>=0.17
- numkit>=1.0
- numpy>=1.0
- pandas>=0.17
- pocl
- setuptools
# dev tools
- codecov
- pytest
- pytest-cov
- pytest-pep8