Skip to content

Add source-agnostic tokenized dataset with bedbase source #2

Add source-agnostic tokenized dataset with bedbase source

Add source-agnostic tokenized dataset with bedbase source #2

name: Run pytests for dev
on:
pull_request:
branches: [dev]
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Hack setup-python cache
if: hashFiles('**/requirements.txt', '**/pyproject.toml') == ''
run: |
touch ./requirements.txt
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching can speed up the workflow by reusing the installed dependencies
- name: Install uv
run: pip install uv
- name: Install test dependencies
run: if [ -f requirements/requirements-test.txt ]; then uv pip install -r requirements/requirements-test.txt --system; fi
- name: Install package
run: uv pip install .[ml] --system
- name: Run pytest tests
run: pytest tests -x -vv --remote-data