Skip to content

Commit 13a7ba8

Browse files
authored
Enhance dependency installation in CI workflow
Updated the CI workflow to conditionally install dependencies from requirements.txt or requirements.md.
1 parent 6412652 commit 13a7ba8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ jobs:
77
- uses: actions/checkout@v4
88
- uses: actions/setup-python@v5
99
with: { python-version: '3.12' }
10-
- run: pip install -r requirements.txt
10+
- name: Install dependencies
11+
run: |
12+
if [ -f requirements.txt ]; then pip install -r requirements.txt
13+
elif [ -f requirements.md ]; then pip install -r requirements.md
14+
else echo "No requirements file found — skipping dependency installation"
15+
fi
1116
- run: python verification/validate_math_tree_softmax.py
1217
- run: python verification/validate_math_vapo_discrete_learning.py
13-
- run: python verification/validate_math_tree_softmax_torch.py
18+
- run: python verification/validate_math_tree_softmax_torch.py

0 commit comments

Comments
 (0)