Skip to content

Merge pull request #178 from dmitry-sinina/_tags_matching #175

Merge pull request #178 from dmitry-sinina/_tags_matching

Merge pull request #178 from dmitry-sinina/_tags_matching #175

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [ master ]
jobs:
linkcheck:
name: "Link check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install sphinx
run: pip install sphinx sphinx_rtd_theme sphinxcontrib-mermaid sphinxcontrib.googleanalytics sphinxcontrib-video sphinxcontrib.spelling
- name: install graphviz
run: sudo apt install graphviz
- name: Run Spell Check
continue-on-error: true
uses: infraspecdev/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_repository: 'yeti-switch/doc'
pr_number: ${{ github.event.number }}
files: 'en/general.rst'
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
openai_model: 'gpt-4o'
model_max_token: 16000
- name: Run spellcheck
run: make spellcheck
- name: Run linkcheck
run: make linkcheck
- name: Run build
env:
SPHINXOPTS: "-W --keep-going -n"
run: make