Skip to content

Merge pull request #175 from bwheelz36/bwheelz36-patch-4 #205

Merge pull request #175 from bwheelz36/bwheelz36-patch-4

Merge pull request #175 from bwheelz36/bwheelz36-patch-4 #205

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install test dependencies
run: |
poetry install --with dev
- name: Test with pytest
run: |
poetry run pytest --cov-report xml --cov=ParticlePhaseSpace/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3