Skip to content

Upgrade CI + lint tools (#745) #333

Upgrade CI + lint tools (#745)

Upgrade CI + lint tools (#745) #333

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Install CPU Torch
run: pip3 install torch torchaudio --index-url https://download.pytorch.org/whl/cpu
- name: Install dependencies
run: |
python -m pip install pytest-cov
python install.py
- run: pytest --cov --cov-report=term-missing .