Skip to content

Commit 2c3ac5b

Browse files
committed
fix: run tests for pip based workflows
1 parent 3596cd7 commit 2c3ac5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ runs:
6161
elif [[ -f setup.py ]]; then
6262
python setup.py test -- ${{ inputs.test-flags }}
6363
else
64-
echo "No tests found"
64+
pip install pytest
65+
pytest ${{ inputs.test-flags }}
6566
fi
6667
# If we do have a poetry.lock, we use a poetry based workflow
6768
- name: install poetry

0 commit comments

Comments
 (0)