Set version to 0.1.3 #91
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: CI | |
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: 'poetry' | |
- name: Install dependencies | |
run: | | |
poetry install -E all | |
- name: Test with pytest | |
run: | | |
poetry run pytest geometricalgebra | |
- name: Test notebooks with pytest geometricalgebra | |
run: | | |
poetry run pytest notebooks | |
- name: Analyze with linter black, isort, and darglint | |
run: | | |
poetry run black --check geometricalgebra | |
poetry run isort --check geometricalgebra | |
poetry run darglint -z long geometricalgebra | |
- name: Type checking with mypy | |
run: | | |
pip install mypy | |
mypy |