From 36279be9e029b81a7b5133294e5729cd690f880a Mon Sep 17 00:00:00 2001 From: otaj Date: Wed, 28 Sep 2022 13:02:23 +0200 Subject: [PATCH] another attempt --- .github/workflows/docs-checks.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.github/workflows/docs-checks.yml b/.github/workflows/docs-checks.yml index 3287c3b5f0..071ecbf38e 100644 --- a/.github/workflows/docs-checks.yml +++ b/.github/workflows/docs-checks.yml @@ -40,26 +40,15 @@ jobs: restore-keys: | ${{ runner.os }}-docs-test-pip-td${{ env.TIME_PERIOD }}- - - name: Install PL + - name: Install dependencies env: FREEZE_REQUIREMENTS: 1 - PACKAGE_NAME: pytorch run: | sudo apt-get update sudo apt-get install -y cmake pandoc pip --version # python -m pip install --upgrade --user pip - pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html - pip list - shell: bash - - - name: Install dependencies - env: - FREEZE_REQUIREMENTS: 1 - PACKAGE_NAME: ${{ matrix.pkg }} - run: | - pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html - pip install -r requirements/${{ matrix.pkg }}/devel.txt + pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt -r requirements/${{ matrix.pkg }}/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html pip list shell: bash @@ -98,25 +87,14 @@ jobs: restore-keys: | ${{ runner.os }}-docs-make-pip- - - name: Install PL + - name: Install dependencies env: FREEZE_REQUIREMENTS: 1 - PACKAGE_NAME: pytorch run: | sudo apt-get update sudo apt-get install -y cmake pandoc texlive-latex-extra dvipng texlive-pictures pip --version - pip install -e . --find-links https://download.pytorch.org/whl/cpu/torch_stable.html - pip list - shell: bash - - - name: Install dependencies - env: - FREEZE_REQUIREMENTS: 1 - PACKAGE_NAME: ${{ matrix.pkg }} - run: | - pip install -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html - python setup.py develop + pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html pip list shell: bash