Skip to content

Commit

Permalink
fix: run tests for pip based workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
armand-sauzay committed Jun 6, 2024
1 parent 3596cd7 commit 2c3ac5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ runs:
elif [[ -f setup.py ]]; then
python setup.py test -- ${{ inputs.test-flags }}
else
echo "No tests found"
pip install pytest
pytest ${{ inputs.test-flags }}
fi
# If we do have a poetry.lock, we use a poetry based workflow
- name: install poetry
Expand Down

0 comments on commit 2c3ac5b

Please sign in to comment.