Skip to content

Merge pull request #18 from schreiber-lab/dev_vm #33

Merge pull request #18 from schreiber-lab/dev_vm

Merge pull request #18 from schreiber-lab/dev_vm #33

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build Run (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package (with build and tests dependencies)
run: python -m pip install .[build,tests,docs]
- name: Run tests
run: pytest tests/ --cov=reflectorch --cov-report=xml
- name: Use Codecov to track coverage
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
- name: Build distribution
run: python -m build