Skip to content

Commit afae7f9

Browse files
Fall back to pip for unit tests
1 parent 6f0dd74 commit afae7f9

1 file changed

Lines changed: 11 additions & 24 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,24 @@ jobs:
88
test:
99
runs-on: ubuntu-latest
1010

11+
strategy:
12+
matrix:
13+
python-version: ["3.14"]
14+
1115
steps:
1216
- name: Checkout repo
1317
uses: actions/checkout@v4
1418

15-
- name: Set up Miniconda
16-
uses: conda-incubator/setup-miniconda@v4
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
1721
with:
18-
auto-update-conda: true
19-
python-version: 3.14
20-
use-mamba: true
21-
22-
# Ensure env is active for all subsequent steps
23-
- name: Initialize shell for conda
24-
shell: bash -l {0}
25-
run: |
26-
conda info
27-
conda list
28-
29-
# Install package into the env
30-
- name: Install package
31-
shell: bash -l {0}
32-
run: |
33-
conda install -c conda-forge unidep=3
34-
unidep install -n pynlo .
35-
conda activate pynlo
22+
python-version: ${{ matrix.python-version }}
3623

37-
- name: Install testing dependencies
38-
shell: bash -l {0}
24+
- name: Install dependencies
3925
run: |
40-
pip install pytest
26+
python -m pip install --upgrade pip
27+
pip install pytest unidep
28+
unidep install -e .
4129
4230
- name: Run tests
43-
shell: bash -l {0}
4431
run: pytest -v

0 commit comments

Comments
 (0)