Skip to content

Commit

Permalink
Fix Monodocs build (#5000)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw authored Mar 4, 2024
1 parent cf21877 commit 4a95abf
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,35 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Fetch the code
- name: Fetch flyte code
uses: actions/checkout@v4
with:
path: "${{ github.workspace }}/flyte"
- name: Fetch flytekit code
uses: actions/checkout@v4
with:
repository: flyteorg/flytekit
path: "${{ github.workspace }}/flytekit"
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.9
- shell: bash -el {0}
working-directory: ${{ github.workspace }}/flyte
run: |
conda install -c conda-forge conda-lock
conda-lock install -n monodocs-env monodocs-environment.lock.yaml
- shell: bash -el {0}
working-directory: ${{ github.workspace }}/flyte
run: |
conda activate monodocs-env
export SETUPTOOLS_SCM_PRETEND_VERSION="2.0.0"
pip install -e ./flyteidl
- shell: bash -el {0}
working-directory: ${{ github.workspace }}/flytekit
run: |
conda activate monodocs-env
pip install -e .
conda info
conda list
conda config --show-sources
Expand All @@ -49,6 +64,7 @@ jobs:
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Build the documentation
working-directory: ${{ github.workspace }}/flyte
shell: bash -el {0}
run: |
conda activate monodocs-env
Expand Down

0 comments on commit 4a95abf

Please sign in to comment.