Skip to content

chore: release pipeline #208

chore: release pipeline

chore: release pipeline #208

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[full]"
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest -v --cov=oximachine_featurizer --cov-report=xml --color=yes test/main
- name: CodeCov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: unittests
name: codecov-{{ '${{ matrix.os }}' }}-py{{ '${{ matrix.python-version }}' }}