Skip to content

typo fix update phylotree.py #21

typo fix update phylotree.py

typo fix update phylotree.py #21

Workflow file for this run

name: Conda build test
on:
push:
branches: ["main", "dev"]
paths: ["**.py", "environment.yml"]
pull_request:
branches: ["main", "dev"]
paths: ["**.py", "environment.yml"]
workflow_dispatch:
jobs:
call-build-aster:
uses: ./.github/workflows/build-aster.yml
build-conda:
runs-on: ubuntu-latest
needs: call-build-aster
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: >-
python=3.10
flake8
pytest
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=130 --statistics
shell: micromamba-shell {0}
- name: Install package
run: pip install .
shell: micromamba-shell {0}
- name: Cache ASTER
uses: actions/cache@v3
with:
path: ~/.local/bin/astral
key: ${{ runner.os }}-ASTER
- name: Test with pytest
run: pytest
shell: micromamba-shell {0}