Fix workflow: VeryFastTree not found error. #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/Conda build and test | |
on: | |
push: | |
branches: ["main", "dev"] | |
paths: ["**.py", "environment.yml"] | |
pull_request: | |
branches: ["main", "dev"] | |
paths: ["**.py", "environment.yml"] | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
conda-build-and-test: | |
name: Conda build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
- run: git fetch --tags | |
- uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-file: environment.yml | |
create-args: >- | |
python=3.10 | |
pytest | |
pytest-cov | |
pytest-dependency | |
pytest-env | |
pytest-order | |
- name: Lint with Ruff | |
uses: astral-sh/ruff-action@v3 | |
- name: Install package | |
run: pip install . | |
shell: micromamba-shell {0} | |
- name: Pytest | |
run: pytest --runslow -vv | |
shell: micromamba-shell {0} |