Skip to content

Commit

Permalink
python: Extract check build step
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkorstanje committed Nov 14, 2024
1 parent 2188529 commit 4a1fa5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Show Python version
run: python --version

- name: Install Python package dependencies
- name: Check build
run: |
python -m pip install build twine
python -m build
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ jobs:
run: python --version
- name: Install Python package dependencies
run: |
python -m pip install build twine pip setuptools wheel
python -m pip install twine pip setuptools wheel
pip install -r requirements.txt
pip install -e .
python -m build
twine check --strict dist/*
- name: Run tests
run: pytest

- name: run acceptance tests
- name: Run Acceptance Tests
run: make acceptance
working-directory: python
- name: Check build
run: |
python -m pip install build twine
python -m build
twine check --strict dist/*

0 comments on commit 4a1fa5f

Please sign in to comment.