Skip to content

Commit 87241cc

Browse files
committed
Fix workflow: add DVC, debug outputs
1 parent 1fca865 commit 87241cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/train.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
python-version: '3.10'
1111
- run: pip install -r requirements.txt
1212
- run: python -m pytest tests/
13-
- run: python src/train.py
14-
- uses: actions/upload-artifact@v3
13+
- run: python src/train.py || exit 1
14+
- run: ls -R mlruns/
15+
- uses: actions/upload-artifact@v4
1516
with:
1617
name: model
1718
path: mlruns/

0 commit comments

Comments
 (0)