Skip to content

Fixed PyPI-publishig workflow #41

Fixed PyPI-publishig workflow

Fixed PyPI-publishig workflow #41

Workflow file for this run

name: Run Tests
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-images:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# os: [ubuntu-latest, macos-latest, windows-latest] # macos and windows runners time out during tests
python-version: ["3.8", "3.10", "3.12"]
env:
os: ${{ matrix.os }}
python: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pip install -e .[dev]
- name: Execute tests
run: |
pytest --cov=./ --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true