Skip to content

Add check for packaging information #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 28, 2023
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