From a6361866f8292eb293dc57c49dc52990b5337e5d Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 16:24:19 +1000 Subject: [PATCH 01/18] ENH: migrate to runs-on GPU instance --- .github/workflows/cache.yml | 19 +++++++++++++----- .github/workflows/ci.yml | 37 ++++++++++++++++++++++++++++------- .github/workflows/collab.yml | 2 +- .github/workflows/publish.yml | 36 ++++++++++++++++++++++++++-------- 4 files changed, 73 insertions(+), 21 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 7e7c6ef42..169fda602 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -6,17 +6,26 @@ on: workflow_dispatch: jobs: cache: - runs-on: quantecon-gpu - container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312 - options: --gpus all + runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - name: Check nvidia drivers + - name: Setup Anaconda + uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + auto-activate-base: true + miniconda-version: 'latest' + python-version: "3.12" + environment-file: environment.yml + activate-environment: quantecon + - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | + pip install -U "jax[cuda12]" + python --version + python scripts/test-jax-install.py nvidia-smi - name: Build HTML shell: bash -l {0} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 115186510..cce7e272f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,41 @@ name: Build Project [using jupyter-book] on: [pull_request] jobs: preview: - runs-on: quantecon-gpu - container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312 - options: --gpus all + runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - # Check nvidia drivers - - name: nvidia Drivers + - name: Setup Anaconda + uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + auto-activate-base: true + miniconda-version: 'latest' + python-version: "3.12" + environment-file: environment.yml + activate-environment: quantecon + - name: Install jax (and install checks for GPU) + shell: bash -l {0} + run: | + pip install -U "jax[cuda12]" + python --version + python scripts/test-jax-install.py + nvidia-smi + - name: Install latex dependencies shell: bash -l {0} - run: nvidia-smi + run: | + sudo apt-get -qq update + sudo apt-get install -y \ + texlive-latex-recommended \ + texlive-latex-extra \ + texlive-fonts-recommended \ + texlive-fonts-extra \ + texlive-xetex \ + latexmk \ + xindy \ + dvipng \ + cm-super - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index efd21e264..40d996535 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -2,7 +2,7 @@ name: Build Project on Google Collab (Execution) on: [pull_request] jobs: execution-checks: - runs-on: quantecon-gpu + runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" container: image: docker://us-docker.pkg.dev/colab-images/public/runtime options: --gpus all diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 52d194208..0095fcbf4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,20 +6,40 @@ on: jobs: publish: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') - runs-on: quantecon-gpu - container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312 - options: --gpus all + runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Git (required to commit notebooks) - shell: bash -l {0} - run: apt-get install -y git - - name: Check nvidia drivers + - name: Setup Anaconda + uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + auto-activate-base: true + miniconda-version: 'latest' + python-version: "3.12" + environment-file: environment.yml + activate-environment: quantecon + - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | + pip install -U "jax[cuda12]" + python --version + python scripts/test-jax-install.py nvidia-smi + - name: Install latex dependencies + shell: bash -l {0} + run: | + sudo apt-get -qq update + sudo apt-get install -y \ + texlive-latex-recommended \ + texlive-latex-extra \ + texlive-fonts-recommended \ + texlive-fonts-extra \ + texlive-xetex \ + latexmk \ + xindy \ + dvipng \ + cm-super - name: Display Conda Environment Versions shell: bash -l {0} run: conda list From b1b1826d5018514236c40295e5649cbddb2583c3 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 16:26:23 +1000 Subject: [PATCH 02/18] tmp: disable build cache for full test run --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cce7e272f..568c6877e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,13 +43,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v9 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v9 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From 3abb55c812aa9547c416beaeffb4c0f38ba44804 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 16:30:58 +1000 Subject: [PATCH 03/18] add support test script for jax install --- scripts/test-jax-install.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/test-jax-install.py diff --git a/scripts/test-jax-install.py b/scripts/test-jax-install.py new file mode 100644 index 000000000..988a6ceaa --- /dev/null +++ b/scripts/test-jax-install.py @@ -0,0 +1,21 @@ +import jax +import jax.numpy as jnp + +devices = jax.devices() +print(f"The available devices are: {devices}") + +@jax.jit +def matrix_multiply(a, b): + return jnp.dot(a, b) + +# Example usage: +key = jax.random.PRNGKey(0) +x = jax.random.normal(key, (1000, 1000)) +y = jax.random.normal(key, (1000, 1000)) +z = matrix_multiply(x, y) + +# Now the function is JIT compiled and will likely run on GPU (if available) +print(z) + +devices = jax.devices() +print(f"The available devices are: {devices}") \ No newline at end of file From c32129b24a861ea83471f2127cb1e0eb7d65f415 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 19:55:56 +1000 Subject: [PATCH 04/18] update jax install --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 568c6877e..3950a1334 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | - pip install -U "jax[cuda12]" + pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html python --version python scripts/test-jax-install.py nvidia-smi From 1ff54b2482063d5d2f3c7ecc8d8a2634549ff5b4 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 20:01:32 +1000 Subject: [PATCH 05/18] revert to jax docs install --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3950a1334..568c6877e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | - pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html + pip install -U "jax[cuda12]" python --version python scripts/test-jax-install.py nvidia-smi From 70658c89676d518d5a7f04e78ee7fe64db4dd1d3 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 1 May 2025 20:02:48 +1000 Subject: [PATCH 06/18] install numpyro --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 568c6877e..0b9cef8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | + pip install 'numpyro[cuda]' -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html pip install -U "jax[cuda12]" python --version python scripts/test-jax-install.py From df11794a0544c6a1a8ca70f3a800d5147269c18f Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 13:40:07 +1000 Subject: [PATCH 07/18] update CUDA=12.9 --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b9cef8d9..3770bb179 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,13 @@ jobs: python-version: "3.12" environment-file: environment.yml activate-environment: quantecon + - name: Install CUDA and CUDANN + shell: bash -l {0} + run: | + wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb + sudo dpkg -i cuda-keyring_1.1-1_all.deb + sudo apt-get update + sudo apt-get -y install cuda-toolkit-12-9 - name: Install jax (and install checks for GPU) shell: bash -l {0} run: | From ab3d7ac130a23d04eee66a1e17afcb86dc8270dd Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 17:24:46 +1000 Subject: [PATCH 08/18] use quantecon custom ami --- .github/runs-on.yml | 5 +++++ .github/workflows/ci.yml | 40 +--------------------------------------- 2 files changed, 6 insertions(+), 39 deletions(-) create mode 100644 .github/runs-on.yml diff --git a/.github/runs-on.yml b/.github/runs-on.yml new file mode 100644 index 000000000..fb65e24f8 --- /dev/null +++ b/.github/runs-on.yml @@ -0,0 +1,5 @@ +images: + quantecon_ubuntu2204_ami: + platform: "linux" + arch: "x64" + ami: "ami-0777c7ccd7657bce6" \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3770bb179..f8f8cda65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,49 +2,11 @@ name: Build Project [using jupyter-book] on: [pull_request] jobs: preview: - runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=ubuntu24-gpu-x64/disk=large" + runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2204_ami/disk=large" steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - name: Setup Anaconda - uses: conda-incubator/setup-miniconda@v3 - with: - auto-update-conda: true - auto-activate-base: true - miniconda-version: 'latest' - python-version: "3.12" - environment-file: environment.yml - activate-environment: quantecon - - name: Install CUDA and CUDANN - shell: bash -l {0} - run: | - wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb - sudo dpkg -i cuda-keyring_1.1-1_all.deb - sudo apt-get update - sudo apt-get -y install cuda-toolkit-12-9 - - name: Install jax (and install checks for GPU) - shell: bash -l {0} - run: | - pip install 'numpyro[cuda]' -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html - pip install -U "jax[cuda12]" - python --version - python scripts/test-jax-install.py - nvidia-smi - - name: Install latex dependencies - shell: bash -l {0} - run: | - sudo apt-get -qq update - sudo apt-get install -y \ - texlive-latex-recommended \ - texlive-latex-extra \ - texlive-fonts-recommended \ - texlive-fonts-extra \ - texlive-xetex \ - latexmk \ - xindy \ - dvipng \ - cm-super - name: Display Conda Environment Versions shell: bash -l {0} run: conda list From 865de2b09a57eae7cf04072a4010466d195c90bd Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 17:30:39 +1000 Subject: [PATCH 09/18] view nvidia smi settings --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8f8cda65..328db983e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + - name: Display nvidia + shell: bash -l {0} + run: nvidia-smi - name: Display Conda Environment Versions shell: bash -l {0} run: conda list From ed215db5bd13ba311efa2548ed08335307578caa Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 18:08:08 +1000 Subject: [PATCH 10/18] remove bash -l {0} --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 328db983e..82353cbac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,10 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Display nvidia - shell: bash -l {0} run: nvidia-smi - name: Display Conda Environment Versions - shell: bash -l {0} run: conda list - name: Display Pip Versions - shell: bash -l {0} run: pip list # - name: Download "build" folder (cache) # uses: dawidd6/action-download-artifact@v9 From 5fb4af4589220aec250d49b2b88af37ff42b2336 Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 18:10:44 +1000 Subject: [PATCH 11/18] add debug --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82353cbac..e565b4963 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,10 @@ jobs: - name: Display nvidia run: nvidia-smi - name: Display Conda Environment Versions - run: conda list + run: | + more ~/.bashrc + whereis python + conda list - name: Display Pip Versions run: pip list # - name: Download "build" folder (cache) From 8b96f4264b900b2f8f7193d330436debf807f1ad Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:07:02 +1000 Subject: [PATCH 12/18] update ami --- .github/runs-on.yml | 2 +- .github/workflows/ci.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/runs-on.yml b/.github/runs-on.yml index fb65e24f8..1e7621b33 100644 --- a/.github/runs-on.yml +++ b/.github/runs-on.yml @@ -2,4 +2,4 @@ images: quantecon_ubuntu2204_ami: platform: "linux" arch: "x64" - ami: "ami-0777c7ccd7657bce6" \ No newline at end of file + ami: "ami-0d4c683ae7bde17e9" \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e565b4963..2603d2d8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,15 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + - name: Setup QuantEcon Environment (/runner/) + run: | + export PATH=$PATH:/opt/anaconda3/bin/ + conda env create -f environment.yml + conda activate quantecon - name: Display nvidia run: nvidia-smi - name: Display Conda Environment Versions run: | - more ~/.bashrc - whereis python conda list - name: Display Pip Versions run: pip list From cfbb4d119a51fe12b3da115d3967b63d6908d16e Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:18:46 +1000 Subject: [PATCH 13/18] update env update --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2603d2d8d..7d1e09b6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: - name: Setup QuantEcon Environment (/runner/) run: | export PATH=$PATH:/opt/anaconda3/bin/ - conda env create -f environment.yml - conda activate quantecon + conda env create -f environment.yml -y + conda init && conda activate quantecon - name: Display nvidia run: nvidia-smi - name: Display Conda Environment Versions From afb0995c6ab774e241b7906e6edaf0404a5ed89c Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:31:41 +1000 Subject: [PATCH 14/18] conda init --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d1e09b6a..8b76da8df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,8 @@ jobs: run: | export PATH=$PATH:/opt/anaconda3/bin/ conda env create -f environment.yml -y - conda init && conda activate quantecon + conda init + conda activate quantecon - name: Display nvidia run: nvidia-smi - name: Display Conda Environment Versions From 64b7ea456720d4cf5fc3a758b7c541485d89d17f Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:43:29 +1000 Subject: [PATCH 15/18] update conda init --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b76da8df..27d068874 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: run: | export PATH=$PATH:/opt/anaconda3/bin/ conda env create -f environment.yml -y - conda init + conda init bash && source ~/.bashrc conda activate quantecon - name: Display nvidia run: nvidia-smi From c6d4882533b14d50dc6e8f6cc0f09e51f757ff0a Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:50:26 +1000 Subject: [PATCH 16/18] update paths --- .github/workflows/ci.yml | 51 +++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27d068874..6ce96769f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: run: nvidia-smi - name: Display Conda Environment Versions run: | + export PATH=$PATH:/opt/anaconda3/bin/ conda list - name: Display Pip Versions run: pip list @@ -28,34 +29,36 @@ jobs: # name: build-cache # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - - name: Build Download Notebooks (sphinx-tojupyter) - shell: bash -l {0} - run: | - jb build lectures -n -W --keep-going --path-output ./ --builder=custom --custom-builder=jupyter - mkdir -p _build/html/_notebooks - cp -u _build/jupyter/*.ipynb _build/html/_notebooks - - name: Upload Execution Reports (Download Notebooks) - uses: actions/upload-artifact@v4 - if: failure() - with: - name: execution-reports - path: _build/jupyter/reports - - name: Build PDF from LaTeX - shell: bash -l {0} - run: | - jb build lectures --builder pdflatex --path-output ./ -W --keep-going - mkdir -p _build/html/_pdf - cp -u _build/latex/*.pdf _build/html/_pdf - - name: Upload Execution Reports (LaTeX) - uses: actions/upload-artifact@v4 - if: failure() - with: - name: execution-reports - path: _build/latex/reports + # - name: Build Download Notebooks (sphinx-tojupyter) + # shell: bash -l {0} + # run: | + # jb build lectures -n -W --keep-going --path-output ./ --builder=custom --custom-builder=jupyter + # mkdir -p _build/html/_notebooks + # cp -u _build/jupyter/*.ipynb _build/html/_notebooks + # - name: Upload Execution Reports (Download Notebooks) + # uses: actions/upload-artifact@v4 + # if: failure() + # with: + # name: execution-reports + # path: _build/jupyter/reports + # - name: Build PDF from LaTeX + # shell: bash -l {0} + # run: | + # jb build lectures --builder pdflatex --path-output ./ -W --keep-going + # mkdir -p _build/html/_pdf + # cp -u _build/latex/*.pdf _build/html/_pdf + # - name: Upload Execution Reports (LaTeX) + # uses: actions/upload-artifact@v4 + # if: failure() + # with: + # name: execution-reports + # path: _build/latex/reports # Final Build of HTML - name: Build HTML shell: bash -l {0} run: | + export PATH=$PATH:/opt/anaconda3/bin/ + conda activate quantecon jb build lectures --path-output ./ -n -W --keep-going - name: Upload Execution Reports (HTML) uses: actions/upload-artifact@v4 From a364b1d8722db974f655721b640c9da54749f699 Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 19:56:27 +1000 Subject: [PATCH 17/18] remove pip --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ce96769f..289ed7b93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,8 @@ jobs: run: | export PATH=$PATH:/opt/anaconda3/bin/ conda list - - name: Display Pip Versions - run: pip list + # - name: Display Pip Versions + # run: pip list # - name: Download "build" folder (cache) # uses: dawidd6/action-download-artifact@v9 # with: From 99b7790776d73a6fe55bfe7d99651406ada1cf41 Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 2 May 2025 20:02:46 +1000 Subject: [PATCH 18/18] test lots of path adjustments --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 289ed7b93..26b537cff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,7 @@ jobs: shell: bash -l {0} run: | export PATH=$PATH:/opt/anaconda3/bin/ + conda init bash && source ~/.bashrc conda activate quantecon jb build lectures --path-output ./ -n -W --keep-going - name: Upload Execution Reports (HTML)