Skip to content

Updating publishtest to update github actions #28

Updating publishtest to update github actions

Updating publishtest to update github actions #28

Workflow file for this run

name: Unit Tests and Documentation Check
on:
push:
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build-docs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@master
- name: Set up Python 3.x
uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Install packages
run: |
python -m pip install --upgrade pip
pip install -U poetry twine wheel
poetry install
- name: Run Tests
run: poetry run pytest --cov=manufacturing --cov-report=html
- name: Build docs
run: |
mkdir gh-pages
touch gh-pages/.nojekyll
cd docs/
poetry run sphinx-build -b html . _build
cp -r _build/* ../gh-pages/
- name: Build wheel file in `dist/`
run: poetry build