Skip to content

Commit

Permalink
setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nbren12 committed Jun 1, 2024
1 parent 9661ddb commit 89cd231
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 189 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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
50 changes: 0 additions & 50 deletions .github/workflows/dev.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/preview.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit 89cd231

Please sign in to comment.