added tests for MomentumArray #143 #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
- push | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
pyver: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Conda environment from environment.yml | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
cache-env: true | |
extra-specs: | | |
python=${{ matrix.pyver }} | |
pytest=6.2.5 | |
hypothesis=6.62.0 | |
- name: Install graphicle | |
shell: bash -l {0} | |
run: pip install . | |
- name: Run tests | |
shell: bash -l {0} | |
run: pytest |