Skip to content

Commit 15f7a71

Browse files
Fine-grained install
1 parent abfe2e4 commit 15f7a71

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,21 @@ jobs:
2626
steps:
2727
- name: Set up Micromamba for Python ${{ matrix.python-version }}
2828
uses: mamba-org/setup-micromamba@v1
29-
with:
30-
python-version: ${{ matrix.python-version }}
3129

3230
- name: Checkout master branch
3331
uses: actions/checkout@v4
3432

3533
- name: Install dependencies
3634
run: |
37-
micromamba create -y -n myenv -c conda-forge python=${{ matrix.python-version }} pip pytest-timeout pytest-xvfb open3d
35+
micromamba create -y -n myenv -c conda-forge python=${{ matrix.python-version }} pip pytest-timeout pytest-xvfb
36+
- name: Install open3d on MacOS
37+
if: runner.os == 'MacOS'
38+
run: micromamba install -y -n myenv -c conda-forge open3d
39+
- name: Install wcwidth on Linux
40+
if: runner.os == 'Linux'
41+
run: micromamba install -y -n myenv -c conda-forge wcwidth
42+
- name: Install package and data package
43+
run: |
3844
micromamba run -n myenv pip install .[dev]
3945
# install the data package
4046
cd mvtb-data
@@ -54,11 +60,9 @@ jobs:
5460
- uses: actions/checkout@v4
5561
- name: Set up Micromamba for Python 3.11
5662
uses: mamba-org/setup-micromamba@v1
57-
with:
58-
python-version: 3.11
5963
- name: Install dependencies
6064
run: |
61-
micromamba create -y -n myenv -c conda-forge python=${{ matrix.python-version }} pip coverage
65+
micromamba create -y -n myenv -c conda-forge python=3.11 pip coverage
6266
micromamba run -n myenv pip install .[dev]
6367
# install the data package
6468
cd mvtb-data

0 commit comments

Comments
 (0)