compvis / .github /workflows /python_package.yml
Dexter's picture
Upload folder using huggingface_hub
36c95ba verified
raw
history blame contribute delete
718 Bytes
name: Python package
on:
schedule:
- cron: '0 4 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Download Kornia binary
run: |
pip install torch -f https://download.pytorch.org/whl/torch_stable.html
pip install kornia
python -c "import kornia"