changing plot size #76
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 for quantificationlib | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Generate Report | |
run: | | |
pip install . | |
pip install pytest coverage | |
coverage run --source quantificationlib --omit __init__.py -m pytest | |
- uses: codecov/codecov-action@v3 | |
docs: | |
needs: [tests] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
# You can test your matrix by printing the current Python version | |
- name: Upgrade pip, install package, install requirements, build docs | |
run: | | |
pip install --upgrade pip | |
pip install . | |
pip install -r ./docs/requirements.txt | |
pip install sphinx | |
sphinx-build docs ./docs/_build/html/ | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: DocumentationHTML | |
path: docs/_build/html/ | |
- uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: docs/_build/html/ # The folder the action should deploy. |