Cleaned and updated README for more recent and in-depth information on origin / goal of project. #23452
Workflow file for this run
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 Doc | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
schedule: | |
- cron: '0 22 * * *' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
job-skipper: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/[email protected] | |
with: | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
paths: '["docs/**"]' | |
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' | |
test-doc: | |
needs: job-skipper | |
if: needs.job-skipper.outputs.should_skip != 'true' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Tests | |
run: | | |
pip install -r docs/tests/requirements.txt | |
export WEBOTS_HOME=$PWD | |
python -m unittest discover -s docs/tests |