Skip to content

Commit

Permalink
remove cached env
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoaquim committed Jan 3, 2024
1 parent 9eab016 commit bf3d27e
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- main
- release/*
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- develop
- 'docs/*'
types: [opened, synchronize, reopened, closed]
branches:
- develop
- "docs/*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -47,22 +47,13 @@ jobs:
libgtk-3-dev \
libwebkit2gtk-4.0-dev
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-v1-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root -E doc

- name: Install packages
run: poetry install --no-interaction -E forecast -E doc -E optimization

- run: |
source $VENV
pip uninstall Brotli -y
pytest tests/website --autodoc
python website/generate_sdk_v3_markdown.py
Expand Down

0 comments on commit bf3d27e

Please sign in to comment.