add build workflow

This commit is contained in:
Gilles Boccon-Gibod
2022-06-02 15:24:45 -07:00
committed by GitHub
parent d6b426eeec
commit a9bd77e6ee

View File

@@ -24,11 +24,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
pip install ".[test]"
- name: Build package
run: |
python -m build
python -m pip install ".[test,development,documentation]"
- name: Test with pytest
run: |
pytest
- name: Build
run: |
inv build
inv mkdocs