Skip to content

Use build in pip cache and explicit hf cache #7

Use build in pip cache and explicit hf cache

Use build in pip cache and explicit hf cache #7

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- uses: actions/cache@v4
with:
path: ~/.cache/huggingface
key: ${{ runner.os }}-bioclip-files }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Run tests
run: |
python -m unittest