Skip to content

Run pytest on GH

Run pytest on GH #1

Workflow file for this run

name: Run Pytest
on:
pull_request:
push:
branches: [main]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
directories: [cladecombiner]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install global dependencies
run: |
pip install poetry
pip install pytest
pip install dendropy
pip install typing-extensions
- name: Test in ${{matrix.directories}}
working-directory: ${{matrix.directories}}
run: |
poetry install
poetry run pytest -v