Skip to content

Commit 4ee6c23

Browse files
authored
Merge pull request #23 from tekktrik/dev/pkg-check
Add check for packaging information
2 parents 094ae50 + 03a1568 commit 4ee6c23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build/action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,11 @@ runs:
6262
shell: bash
6363
run: |
6464
pre-commit run --all-files
65-
- name: Install pytest
66-
shell: bash
67-
run: pip install pytest
6865
- name: Run pytest
6966
shell: bash
7067
run: |
7168
if [[ -d tests ]]; then
72-
pip install .
69+
pip install pytest
7370
pytest
7471
fi
7572
- name: Add the given package filename_prefix
@@ -104,6 +101,10 @@ runs:
104101
shell: bash
105102
run: |
106103
echo pyproject-toml=$( find . -wholename './pyproject.toml' ) >> $GITHUB_OUTPUT
104+
- name: Check packaging information
105+
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
106+
shell: bash
107+
run: python actions-ci/check_lib_packaging.py
107108
- name: Build Python package
108109
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
109110
shell: bash

0 commit comments

Comments
 (0)