Skip to content

Fix workflow: VeryFastTree not found error. #23

Fix workflow: VeryFastTree not found error.

Fix workflow: VeryFastTree not found error. #23

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}