Skip to content

Commit c05daa6

Browse files
committed
Fixed stumpy installation from conda-forge
1 parent 215ee5e commit c05daa6

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/check-conda-forge-actions.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,28 @@ jobs:
3636
uses: actions/checkout@v4
3737
with:
3838
repository: stumpy-dev/stumpy
39+
- name: Prevent STUMPY Source Installation
40+
run: sed -i.BAK '/^\[tool\.pixi\.activation/,+2d' pyproject.toml && rm -rf pyproject.toml.BAK
41+
shell: bash
42+
- name: Display PyProject.toml
43+
run: cat pyproject.toml
44+
shell: bash
3945
- name: Set Up Pixi
4046
uses: prefix-dev/setup-pixi@v0.9.4
4147
with:
4248
pixi-version: v0.62.2
4349
- name: Set Up Python
4450
run: pixi add python="${{ matrix.python-version }}"
4551
shell: bash
52+
- name: Install Conda-Forge STUMPY
53+
run: pixi add stumpy
54+
shell: bash
4655
- name: Display Python Version
4756
run: pixi run python -c "import sys; print(sys.version)"
4857
shell: bash
4958
- name: Show Full Numba Environment
5059
run: pixi run python -m numba -s
5160
shell: bash
52-
- name: Prevent STUMPY Source Installation
53-
run: sed -i.BAK '/^\[tool\.pixi\.activation/,+2d' pyproject.toml && rm -rf pyproject.toml.BAK
54-
shell: bash
55-
- name: Display PyProject.toml
56-
run: cat pyproject.toml
57-
shell: bash
5861
- name: Run Unit Tests
5962
run: pixi run bash ./test.sh unit
6063
shell: bash

0 commit comments

Comments
 (0)