Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 16, 2024
1 parent b43b6f9 commit 29d8793
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Building docs
on:
workflow_call:
inputs:
actions-ref:
description: "Version of actions, normally the same as workflow"
required: false
type: string
default: ""
python-version:
description: "Python version to use"
default: "3.9"
Expand Down Expand Up @@ -71,6 +76,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: "pip"

- name: Install pandoc & texlive
if: ${{ inputs.install-tex == 'true' }}
Expand All @@ -83,16 +89,22 @@ jobs:
dvipng \
texlive-pictures \
latexmk
# todo: consider adding cache with separate restore/save
- name: Install dependencies
timeout-minutes: 20
run: |
pip --version
pip install -e . -U -r ${{ inputs.requirements-file }} -f ${TORCH_URL}
pip list
# TODO: re-enable after the external usage is resolved, see #51
# - uses: ./.github/actions/pip-list
- name: Pull reusable 🤖 actions️
if: ${{ inputs.actions-ref != '' }}
uses: actions/checkout@v4
with:
ref: ${{ inputs.actions-ref }}
path: .cicd
repository: Lightning-AI/utilities
- uses: ./.cicd/.github/actions/pip-list
if: ${{ inputs.actions-ref != '' }}

- name: Build documentation
working-directory: ${{ inputs.docs-dir }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Set oldest dependencies
# todo: this is strange to use itself :/
if: matrix.requires == 'oldest'
timeout-minutes: 20
run: |
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- CLI: update parsing inputs ([#333](https://github.com/Lightning-AI/utilities/pull/333))


- CI: bump upload/download artifact `v4` ([#344](https://github.com/Lightning-AI/utilities/pull/344))
- CI: bump upload/download artifact `v4` ([#344](https://github.com/Lightning-AI/utilities/pull/344), [#345](https://github.com/Lightning-AI/utilities/pull/345))


- Bump minimal Python version to be 3.9 ([#331](https://github.com/Lightning-AI/utilities/pull/331))
Expand Down

0 comments on commit 29d8793

Please sign in to comment.