Skip to content

update dependendencies #174

update dependendencies

update dependendencies #174

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: ["develop", "main"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
# optionally set specific poetry version. Defaults to latest
uses: Gr1N/setup-poetry@v8
- name: Install dependencies with Poetry
# poetry setuptools workaround sourced from:
# https://github.com/python-poetry/poetry/issues/7611#issuecomment-1711443539
run: |
poetry --version
poetry self add setuptools
poetry install
- name: Run pre-commit
run: poetry run pre-commit run --all-files
- name: Build docs
run: |
cd docs && poetry run make html && cd ..
- name: Run pytest
run: poetry run pytest -v --cov-report term-missing --cov
- name: Coveralls
if: ${{ success() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run coveralls --service=github