Skip to content

Update PyAlma for Jupyter notebook #57

Update PyAlma for Jupyter notebook

Update PyAlma for Jupyter notebook #57

Workflow file for this run

name: Run tests and compute coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install project with dependencies from pyproject.toml
run: |
python -m pip install --upgrade pip
pip install .
pip install coverage pytest pytest-mock
- name: Run tests with coverage (fail if < 80%)
run: |
coverage run -m pytest --ignore=tests/integration
coverage report --fail-under=80
coverage xml