Skip to content

Commit 3a88350

Browse files
jstacmmcky
andauthored
[ifp_egm] Tidy up EGM, remove jitclass (#144)
* misc * TMP: return to previous software environment CUDA=12.1.0 * Revert "TMP: return to previous software environment CUDA=12.1.0" This reverts commit 0192e23. * add suggestion to clarify which jit is used * MAINT: update action versions * check python version * update nb to numba * TMP: disable cache for clean build test * Revert "TMP: disable cache for clean build test" This reverts commit 226b45f. * update full build folder on failre * initiate a reverse ssh tunnel * instal tmux fo reverse tunnel * update apt-get * install upterm * update reference to deb file * remove reverse tunnel action -- not working * TMP: simplify jit function interface for testing * Revert "TMP: simplify jit function interface for testing" This reverts commit 180b02e. * TST: test if arrays was the issue * TST: remove array unpacking as passed in separately * TST: update arrays variable to contain numpy arrays --------- Co-authored-by: mmcky <[email protected]>
1 parent 1cd0306 commit 3a88350

File tree

2 files changed

+78
-126
lines changed

2 files changed

+78
-126
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
deploy-runner:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: iterative/setup-cml@v1
8-
- uses: actions/checkout@v3
7+
- uses: iterative/setup-cml@v2
8+
- uses: actions/checkout@v4
99
with:
1010
ref: ${{ github.event.pull_request.head.sha }}
1111
- name: Deploy runner on EC2
@@ -27,22 +27,25 @@ jobs:
2727
image: docker://mmcky/quantecon-lecture-python:cuda-12.3.1-anaconda-2024-02-py311
2828
options: --gpus all
2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
with:
3232
ref: ${{ github.event.pull_request.head.sha }}
33-
# Check nvidia-smi
3433
- name: Check nvidia drivers
3534
shell: bash -l {0}
3635
run: |
3736
nvidia-smi
37+
- name: Check python version
38+
shell: bash -l {0}
39+
run: |
40+
python --version
3841
- name: Display Conda Environment Versions
3942
shell: bash -l {0}
4043
run: conda list
4144
- name: Display Pip Versions
4245
shell: bash -l {0}
4346
run: pip list
4447
- name: Download "build" folder (cache)
45-
uses: dawidd6/action-download-artifact@v2
48+
uses: dawidd6/action-download-artifact@v3
4649
with:
4750
workflow: cache.yml
4851
branch: main
@@ -66,6 +69,12 @@ jobs:
6669
shell: bash -l {0}
6770
run: |
6871
jb build lectures --path-output ./ -n -W --keep-going
72+
- name: Upload build folder
73+
uses: actions/upload-artifact@v2
74+
if: failure()
75+
with:
76+
name: _build
77+
path: _build/
6978
- name: Upload Execution Reports
7079
uses: actions/upload-artifact@v2
7180
if: failure()

0 commit comments

Comments
 (0)