From 30e41a4d29c2bc38bc82a29ab084e639a4c9ba9c Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 6 Nov 2024 06:54:07 -0800 Subject: [PATCH] Run cog directly Refs #615 --- .github/workflows/cog.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cog.yml b/.github/workflows/cog.yml index c1989e98..56ce1b27 100644 --- a/.github/workflows/cog.yml +++ b/.github/workflows/cog.yml @@ -22,13 +22,12 @@ jobs: with: python-version: '3.11' - - uses: extractions/setup-just@v2 - - name: Install dependencies run: pip install -e '.[test]' - name: Run cog - run: just cog + run: | + cog -r -p "import sys, os; sys._called_from_test=True; os.environ['LLM_USER_PATH'] = '/tmp'" docs/**/*.md docs/*.md - name: Check for changes id: check-changes