Skip to content

reconstruct using click #10

reconstruct using click

reconstruct using click #10

Workflow file for this run

name: Python Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- python-version: "3.9"
os: ubuntu-latest
- python-version: "3.9"
os: macos-latest
# - python-version: "3.9"
# os: window
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install -r requirements_dev.txt
- name: Test with pytest and coverage
run: |
pip install coverage
coverage run -m pytest tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false