Skip to content

Commit a8c976a

Browse files
committed
BLD/CI: Update package CI to test with conda/spin
1 parent e36dddc commit a8c976a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python package
1+
name: Test package
22

33
on: [push, pull_request]
44

@@ -12,14 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up Python ${{ matrix.python-version }}
15-
uses: actions/setup-python@v4
15+
uses: conda-incubator/setup-miniconda@v3
1616
with:
17+
auto-update-conda: true
1718
python-version: ${{ matrix.python-version }}
18-
- name: Install dependencies
19-
run: |
20-
python -m pip install --upgrade pip poetry
21-
poetry env use ${{ matrix.python-version }}
22-
poetry install --with=test
19+
activate-environment: numpy-financial-dev
20+
environment-file: environment.yml
2321
- name: Test with pytest
2422
run: |
25-
poetry run pytest --doctest-modules
23+
spin test -- --doctest-modules

0 commit comments

Comments
 (0)