Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Update gradio requirement from <=3.45.2 to <4.1 #192

Update gradio requirement from <=3.45.2 to <4.1

Update gradio requirement from <=3.45.2 to <4.1 #192

Workflow file for this run

name: CI testing
on: # Trigger the workflow on push or pull request, but only for the master branch
push:
branches: ["main"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
pytest:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Lightning
run: |
pip install -U lightning -r requirements.txt -r tests/requirements.txt \
-f https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
lightning --version
- name: Tests
run: |
python -m pytest tests