Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mamba-org/provision-with-micromamba to mamba-org/setup-micromamba #26

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Add micromamba to system path
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@main
with:
environment-name: donni
activate-environment: donni
environment-file: environment.yml
- name: Test with pytest
run: |
micromamba run -n donni pytest --cov=. --cov-report term-missing -vv tests/test_*.py
micromamba run -n donni coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
name: codecov-umbrella
fail_ci_if_error: true
env_vars: OS,PYTHON
micromamba run -n donni pytest -vv tests/test_*.py
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version = "0.9.0"
description = "Demography Optimization via Neural Network Inference"
readme = "README.md"
requires-python = ">=3.7"
license = ""
dependencies = [
"dadi",
"python-irodsclient == 1.1.6",
Expand All @@ -26,4 +25,4 @@ path = "donni/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/donni",
]
]
Loading