Skip to content

fix context mask x2 #346

fix context mask x2

fix context mask x2 #346

Workflow file for this run

name: ci
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached virtual environment
id: cached-venv
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-venv.output.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Run tests
run: |
source .venv/bin/activate
python3 -m pytest tests
- name: Build documentation
run: |
source .venv/bin/activate
cd docs
make html
touch _build/html/.nojekyll
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: "docs/_build/html"