Skip to content

Commit

Permalink
macOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan8be committed Oct 30, 2024
1 parent 2e8627a commit 107410c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ jobs:
- name: Install dependencies on macOS
if: startsWith(matrix.os, 'macos')
run: |
echo $PYTHON_VENV_ROOT
echo $CONDA
export PYTHON_VENV_ROOT=${CONDA}/envs/test
echo $PYTHON_VENV_ROOT
echo $GITHUB_ENV
python3 -m venv $PYTHON_VENV_ROOT
source $PYTHON_VENV_ROOT/bin/activate
python --version
Expand All @@ -50,8 +46,10 @@ jobs:
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m venv ${PYTHON_VENV_ROOT}
source ${PYTHON_VENV_ROOT}/bin/activate
export PYTHON_VENV_ROOT=${CONDA}/envs/test
python3 -m venv $PYTHON_VENV_ROOT
source $PYTHON_VENV_ROOT/bin/activate
python --version
fi
echo -e "Running tests"
pytest tests/*.py
Expand Down
11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
license='GPL-3.0',
packages=['metadynminer'],
python_requires='>=3.9',
install_requires=['numpy>=2.1.1',
'matplotlib>=3.9.2',
'pandas>=2.2.2',
'vtk>=9.3.1',
'pyvista>=0.44.1',
'imageio>=2.35.1'
install_requires=['numpy>=1.21.6',
'matplotlib>=3.5.3',
'pandas>=1.3.5',
'pyvista>=0.43.0',
'imageio>=2.31.1'
],

classifiers=[
Expand Down

0 comments on commit 107410c

Please sign in to comment.