Skip to content

Merge pull request #30 from DeaconDesperado/3.0.0 #13

Merge pull request #30 from DeaconDesperado/3.0.0

Merge pull request #30 from DeaconDesperado/3.0.0 #13

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Set up build deps
run: python -m pip install --upgrade build
- name: Install dependencies
run: python -m pip install '.[dev]'
- name: Lint
run: python -m black --check flask_mab tests
- name: Run tests
run: pytest
- name: Build dist
run: python -m build .
- name: Build docs
uses: ammaraskar/sphinx-action@0.4
with:
pre-build-command: python -m pip install '.[dev]'
docs-folder: "docs/"
build-command: sphinx-build -b html . _build