Attempt to Address Issue-225 and Issue-226. #114
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: recipes | |
on: [pull_request, workflow_dispatch] | |
permissions: | |
contents: read | |
jobs: | |
test-recipes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
architecture: x64 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
${{ env.pythonLocation }} | |
iiif-prezi3/iiif-prezi3/utils/.cache | |
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }} | |
- name: Install dev dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
pip install -e .[dev] | |
- name: Run the Recipe Check script | |
run: | | |
cd utils | |
python test_cookbook.py -y -v --fail-fast --fail-missing ../docs/recipes/*.md |