Skip to content

DC-PDD readme entry #109

DC-PDD readme entry

DC-PDD readme entry #109

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10' # Specify your Python version
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
if [ -f requirements_workflow.txt ]; then pip install -r requirements_workflow.txt; fi
- name: Run tests
run: python -m pytest