File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ jobs:
4343 AMPLKEY_UUID : ${{ secrets.AMPLKEY_UUID }}
4444 run : |
4545 python -m pip install --upgrade pip
46- # pip install nbval==0.11.0 pytest nbqa==1.9.1 black==25.1.0
47- # pip install amplpy
48- # python -m amplpy.modules install base
49- # python -m amplpy.modules activate $AMPLKEY_UUID
50- #
51- # - name: Test notebook formatting ${{ matrix.notebook }}
52- # run: |
53- # echo "Testing notebook formatting: ${{ matrix.notebook }}"
54- # nbqa black ${{ matrix.notebook }} --check
55- #
56- # - name: Test notebook ${{ matrix.notebook }}
57- # run: |
58- # echo "Testing notebook: ${{ matrix.notebook }}"
59- # pytest --nbval-lax ${{ matrix.notebook }}
46+ pip install nbval==0.11.0 pytest nbqa==1.9.1 black==25.1.0
47+ pip install amplpy
48+ python -m amplpy.modules install base
49+ python -m amplpy.modules activate $AMPLKEY_UUID
50+
51+ - name : Test notebook formatting ${{ matrix.notebook }}
52+ run : |
53+ echo "Testing notebook formatting: ${{ matrix.notebook }}"
54+ nbqa black ${{ matrix.notebook }} --check
55+
56+ - name : Test notebook ${{ matrix.notebook }}
57+ run : |
58+ echo "Testing notebook: ${{ matrix.notebook }}"
59+ pytest --nbval-lax ${{ matrix.notebook }}
You can’t perform that action at this time.
0 commit comments