Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit a3b89ae

Browse files
committed
Merge branch 'review-nov22' of github.com:DiamondLightSource/python3-pip-skeleton into review-nov22
2 parents e26ca77 + d5d59c3 commit a3b89ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
touch requirements.txt
101101
pip install -r requirements.txt dist/*.whl
102102
# If more than one module in src/ replace with module name to test
103-
python -m $(ls src) --version
103+
python -m $(ls src | head -1) --version
104104
105105
- name: Check for packaging errors
106106
run: pipx run twine check dist/*

.github/workflows/pip_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ shift
1212
touch requirements-${suffix}.txt
1313
pip install -r requirements-${suffix}.txt "${@}"
1414
mkdir -p lockfiles
15-
pip freeze | sed '/file:/s/^/# Requirements for /' > lockfiles/requirements${suffix}.txt
15+
pip freeze > lockfiles/requirements-${suffix}.txt

0 commit comments

Comments
 (0)