Skip to content

Commit

Permalink
Merge pull request #146 from jacanchaplais/feature/tests-143
Browse files Browse the repository at this point in the history
Added sanity checks for MomentumArray #143
  • Loading branch information
jacanchaplais committed Aug 31, 2023
2 parents 4dfd465 + 0d95492 commit 49d9aaf
Show file tree
Hide file tree
Showing 7 changed files with 317 additions and 237 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: tests

on:
- push

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
pyver: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.3.1-0'
environment-name: test-env
create-args: >-
python=${{ matrix.pyver }}
pytest>=6.2.5
init-shell: bash
cache-environment: true
post-cleanup: 'all'

- name: Install graphicle
shell: bash -el {0}
run: pip install .

- name: Run tests
shell: bash -el {0}
run: pytest
179 changes: 0 additions & 179 deletions README.md

This file was deleted.

Loading

0 comments on commit 49d9aaf

Please sign in to comment.