Skip to content

Release 0.0.10

Release 0.0.10 #35

Workflow file for this run

name: Build and test Python package
on: [push]
env:
PYTHONPATH: "."
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest --junitxml=junit/test-results-${{ matrix.python-version }}.xml --cov=c3 --cov-report=xml --cov-report=html
- name: Upload pytest test results
uses: actions/upload-artifact@v3
with:
name: pytest-results-${{ matrix.python-version }}
path: junit/test-results-${{ matrix.python-version }}.xml
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}