Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,11 @@ runs:
shell: bash
run: |
pre-commit run --all-files
- name: Install pytest
shell: bash
run: pip install pytest
- name: Run pytest
shell: bash
run: |
if [[ -d tests ]]; then
pip install .
pip install pytest
pytest
fi
- name: Add the given package filename_prefix
Expand Down Expand Up @@ -104,6 +101,10 @@ runs:
shell: bash
run: |
echo pyproject-toml=$( find . -wholename './pyproject.toml' ) >> $GITHUB_OUTPUT
- name: Check packaging information
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
shell: bash
run: python actions-ci/check_lib_packaging.py
- name: Build Python package
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
shell: bash
Expand Down