Update 06_pca.ipynb #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python: ["3.10"] | |
# Set up operating system | |
runs-on: ${{ matrix.os }} | |
# Define job steps | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Check-out repository | |
uses: actions/checkout@v2 | |
- name: Install multidim package | |
run: pip install ".[all]" | |
- name: Test with pytest | |
run: python -m pytest tests --doctest-modules --cov=multidim --cov-report=xml | |
- name: Test with mypy | |
run: mypy src | |
- name: Test notebooks | |
run: | | |
pytest --nbmake src/multidim/notebooks | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./coverage/reports/ | |
env_vars: OS,PYTHON | |
fail_ci_if_error: true | |
files: ./coverage.xml | |
flags: unittests | |
name: codecov-umbrella | |
verbose: true | |
- name: Build documentation | |
run: make html --directory docs/ |