Skip to content

Commit

Permalink
Merge pull request #1 from ml-evs/main
Browse files Browse the repository at this point in the history
Refactor tests and run CPU tests in CI
  • Loading branch information
sgbaird authored Jan 3, 2025
2 parents 6aae1ef + 49e0d3f commit 0095163
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 253 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run tests

on:
pull_request:
push:
branches:
- main
jobs:

pytest:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:

- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
cache-dependency-path: |
**/requirements*.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .[tests]
- name: Run tests with pytest
run: |
pytest -rs -vvv -k 'not cuda'
Loading

0 comments on commit 0095163

Please sign in to comment.