Merge pull request #858 from plone/vale-update-docs #1571
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Plone Training documentation | |
on: [push, pull_request] | |
jobs: | |
test: | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -q -r requirements.txt -c constraints.txt | |
sudo snap install --edge vale | |
- name: Run tests with make test (includes clean and linkcheckbroken) | |
run: make test | |
- name: Run Vale | |
run: make vale VALEOPTS="--no-exit --minAlertLevel='warning'" |