Skip to content

Review from JOSS editor #147

Review from JOSS editor

Review from JOSS editor #147

Workflow file for this run

name: pipeline
on:
pull_request:
push:
branches: [main]
jobs:
test-job:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .
pip install -r requirements-dev.txt
- name: Run tests
run: |
pytest -v --cov-report xml --cov=peak_performance --cov-report term-missing peak_performance
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
- name: Test Wheel build, install and import
run: |
python setup.py bdist_wheel
twine check dist/*
cd dist
pip install peak_performance*.whl
python -c "import peak_performance; print(peak_performance.__version__)"