Skip to content

setup ci

setup ci #1

Workflow file for this run

name: Test CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: pytorch/pytorch:latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: lint
run: make lint
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-build-isolation .
- name: Run tests
run: |
pytest