Skip to content

Commit

Permalink
try installing conda
Browse files Browse the repository at this point in the history
  • Loading branch information
pellet committed Jun 22, 2024
1 parent 15ca07b commit 4eb03e2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test

on:
push:
branches: [ master, develop ]
branches: [ master, develop, 'dev/*' ]
pull_request:
branches: [ master, develop ]

Expand Down Expand Up @@ -99,6 +99,18 @@ jobs:
if: "startsWith(runner.os, 'Linux')"
run: |
make install-deps-wxpython
- name: Install MacOS dependencies
if: "startsWith(runner.os, 'macOS')"
uses: goanpeca/setup-miniconda@v3
with:
auto-activate-base: true
python-version: 3.9 # You can specify your Python version here
activate-environment: myenv
channels: conda-forge
miniconda-version: "latest"
- name: Install PyTables via Conda for MacOS
if: "startsWith(runner.os, 'macOS')"
run: conda install -y pytables
- name: Install dependencies
run: |
make build
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## ~~ Analysis Requirements ~~

#keyboard requires pyobjc, psychopy requires version less than 8.
pyobjc==7.3; platform_system == "macOS"
#pyobjc==7.3; platform_system == "macOS"
scikit-learn>=0.23.2
pandas>=1.1.4
numpy>=1.19.4,<1.24 # due to outdated libs not changing the names after: https://github.com/numpy/numpy/pull/22607
Expand Down Expand Up @@ -38,6 +38,8 @@ h5py>=3.1.0
pytest-shutil
pyo>=1.0.3; platform_system == "Linux"
keyboard==0.13.5
#keyboard was crashing on Carbon.CFDataGetBytes(k_layout, CFRange(0, k_layout_size), ctypes.byref(k_layout_buffer))
#keyboard==0.13.6; platform_system == "macOS"
airium>=0.1.0
attrdict>=2.0.1
attrdict3
Expand All @@ -59,8 +61,6 @@ pyserial>=3.5
h5py>=3.1.0
pytest-shutil
pyo>=1.0.3; platform_system == "Linux"
#keyboard requires pyobjc, psychopy requires version less than 8.
pyobjc==7.3; platform_system == "macOS"
keyboard==0.13.5
#keyboard was crashing on Carbon.CFDataGetBytes(k_layout, CFRange(0, k_layout_size), ctypes.byref(k_layout_buffer))
#keyboard==0.13.6; platform_system == "macOS"
Expand Down

0 comments on commit 4eb03e2

Please sign in to comment.