Skip to content

Commit 4a5b9de

Browse files
authored
ci: revert testing workflow to use conda
1 parent 8e556a0 commit 4a5b9de

1 file changed

Lines changed: 13 additions & 23 deletions

File tree

.github/workflows/tester.yml

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,38 @@ on:
77
paths:
88
- '**.py'
99
- .github/workflows/tester.yml
10+
1011
pull_request:
1112
branches:
1213
- master
1314
paths:
1415
- '**.py'
1516
- .github/workflows/tester.yml
1617
workflow_dispatch:
17-
1818
jobs:
1919
continuous-integration:
2020
name: Continuous integration ${{ matrix.os }} python ${{ matrix.python-version }}
2121
runs-on: ${{ matrix.os }}
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: ${{ fromJSON(vars.BUILD_OS) }}
26-
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS) }}
27-
25+
os: ${{ fromJSON(vars.BUILD_OS)}}
26+
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}}
2827
steps:
2928
- uses: actions/checkout@v4
29+
- uses: conda-incubator/setup-miniconda@v3
3030

31-
- name: Set up uv
32-
uses: astral-sh/setup-uv@v3
3331
with:
34-
version: "latest"
35-
36-
- name: Set up Python ${{ matrix.matrix.python-version }}
37-
run: uv python install ${{ matrix.python-version }}
38-
39-
- name: Install dependencies and library
32+
python-version: ${{ matrix.python }}
33+
- name: Installing dependencies
34+
shell: bash -l {0}
4035
run: |
41-
uv add \
42-
numpy \
43-
scipy \
44-
scikit-image \
45-
scikit-learn \
46-
pytest \
47-
networkx \
48-
osqp \
49-
matplotlib \
50-
-e .[tests]
51-
36+
conda install -c conda-forge numpy scipy scikit-image scikit-learn pyvista pandas pytest networkx osqp matplotlib -y
37+
- name: Building and install
38+
shell: bash -l {0}
39+
run: |
40+
pip install . --user
5241
- name: pytest
42+
shell: bash -l {0}
5343
run: |
5444
pytest

0 commit comments

Comments
 (0)