Skip to content

Commit b5c94e2

Browse files
committed
Put back notebooks evaluations
1 parent cd1969e commit b5c94e2

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/test-notebooks.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)