Skip to content

Merge pull request #1 from Kainmueller-Lab/pypi_installable #2

Merge pull request #1 from Kainmueller-Lab/pypi_installable

Merge pull request #1 from Kainmueller-Lab/pypi_installable #2

Workflow file for this run

name: Python Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev] # if you defined a dev optional dep in pyproject.toml
# or use: pip install . pytest
- name: Run tests
run: |
pytest --version
pytest tests