Add source-agnostic tokenized dataset with bedbase source #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |