diff --git a/.github/workflows/lint-and-test.yaml b/.github/workflows/lint-and-test.yaml index 13d1ccd..27d59cf 100644 --- a/.github/workflows/lint-and-test.yaml +++ b/.github/workflows/lint-and-test.yaml @@ -26,6 +26,7 @@ jobs: cache: pip cache-dependency-path: | requirements-dev.txt + requirements-docs.txt pyproject.toml - name: Install dependencies run: | @@ -63,6 +64,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Python and dependencies + uses: actions/setup-python@v4 + with: + python-version: 3.11 + cache: pip + cache-dependency-path: | + requirements-dev.txt + requirements-docs.txt + pyproject.toml + - name: Install dependencies + run: | + pip install -r requirements-dev.txt -r requirements-docs.txt + pip install -e . --no-deps - uses: ./.github/actions/mike-docs with: version: latest diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 31f4ea5..3193ce1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,12 @@ jobs: cache: pip cache-dependency-path: | requirements-dev.txt + requirements-docs.txt pyproject.toml + - name: Install dependencies + run: | + pip install -r requirements-dev.txt -r requirements-docs.txt + pip install -e . --no-deps - name: Build and check run: | python -m build