Skip to content

Commit

Permalink
run pytest on GH
Browse files Browse the repository at this point in the history
  • Loading branch information
afmagee42 committed Oct 24, 2024
1 parent 75ae2d1 commit 2e1808d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/run-pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit 2e1808d

Please sign in to comment.