Skip to content

build: Move cli to optional dependencies #1029

build: Move cli to optional dependencies

build: Move cli to optional dependencies #1029

Workflow file for this run

name: Python
on:
push:
branches-ignore:
- pycli
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test
run: |
cd pineappl_py
python -m venv env
. env/bin/activate
pip install maturin
maturin develop --extras test
pytest
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
files: pineappl_py/coverage.xml
flags: python