Skip to content

Commit cd79a11

Browse files
Removed test-requirements.txt
1 parent 7b7f68f commit cd79a11

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/workflows/ci-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ jobs:
135135
with:
136136
python-version: 3.12
137137
cache: pip
138-
cache-dependency-path: |
139-
test-requirements.txt
140138

141139
- name: Install packages
142140
run: |

.github/workflows/tag_to_publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: actions/setup-python@v6
2828
with:
2929
python-version: 3.12
30+
cache: pip
3031

3132
- name: Install packages
3233
run: |

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
MODULE=cwl_utils
2424
PACKAGE=cwl-utils
25-
EXTRAS=
25+
EXTRAS="[testing]"
2626

2727
# `SHELL=bash` doesn't work for some, so don't use BASH-isms like
2828
# `[[` conditional expressions.
@@ -31,7 +31,7 @@ PYSOURCES=$(filter-out $(MODULE)/parser/cwl_v%,$(shell find $(MODULE) -name "*.p
3131
${MODULE}/parser/cwl_v1_?_utils.py docs/conf.py
3232
DEVPKGS=build diff_cover pylint pep257 ruff 'tox<4' tox-pyenv \
3333
wheel autoflake pyupgrade bandit auto-walrus \
34-
-rlint-requirements.txt -rtest-requirements.txt -rmypy-requirements.txt
34+
-rlint-requirements.txt -rmypy-requirements.txt
3535
DEBDEVPKGS=pep8 python-autopep8 pylint python-coverage ruff sloccount \
3636
python-flake8 python-mock shellcheck
3737
VERSION=v$(shell echo $$(tail -n 1 cwl_utils/__meta__.py | awk '{print $$3}'))

release-test.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export LC_ALL=C
77

88
package=cwl-utils
99
module=cwl_utils
10-
extras="[pretty]"
10+
extras="[pretty,testing]"
1111

1212
if [ "$GITHUB_ACTIONS" = "true" ]; then
1313
# We are running as a GH Action
@@ -31,7 +31,7 @@ then
3131
# shellcheck source=/dev/null
3232
source testenv1/bin/activate
3333
pip install --force-reinstall -U pip==${pipver} build
34-
pip install -rtest-requirements.txt ".${extras}"
34+
pip install ".${extras}"
3535
make test
3636
pip uninstall -y ${package} || true; pip uninstall -y ${package} || true; make install
3737
mkdir testenv1/not-${module}
@@ -58,7 +58,7 @@ pip install --force-reinstall -U pip==${pipver} \
5858
# The following can fail if you haven't pushed your commits to ${repo}
5959
pip install -e "git+${repo}@${HEAD}#egg=${package}${extras}"
6060
pushd src/${package}
61-
pip install -rtest-requirements.txt build
61+
pip install build
6262
make dist
6363
make test
6464
cp dist/${module}*tar.gz ../../../testenv3/
@@ -78,7 +78,6 @@ source bin/activate
7878
pip install --force-reinstall -U pip==${pipver} \
7979
&& pip install build wheel
8080
package_tar=$(find . -name "${module}*tar.gz")
81-
pip install "-r${DIR}/test-requirements.txt" build
8281
pip install "${package_tar}${extras}"
8382
mkdir out
8483
tar --extract --directory=out -z -f ${module}*.tar.gz
@@ -101,7 +100,6 @@ source bin/activate \
101100
&& pip install --force-reinstall -U pip==${pipver} \
102101
&& pip install build wheel
103102
pip install "$(ls ${module}*.whl)${extras}"
104-
pip install "-r${DIR}/test-requirements.txt"
105103
mkdir not-${module}
106104
pushd not-${module}
107105
# shellcheck disable=SC2086

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ passenv =
3030
CI
3131
GITHUB_*
3232
deps =
33-
py3{10,11,12,13,14}-{unit,mypy}: -rtest-requirements.txt
3433
py3{10,11,12,13,14}-lint: -rlint-requirements.txt
3534
py3{10,11,12,13,14}-bandit: bandit[toml]
3635
py3{10,11,12,13,14}-mypy: -rmypy-requirements.txt
@@ -56,7 +55,8 @@ skip_install =
5655
py3{10,11,12,13,14}-bandit: true
5756

5857
extras =
59-
py3{10,11,12,13,14}-unit: pretty
58+
py3{10,11,12,13,14}-mypy: testing
59+
py3{10,11,12,13,14}-unit: pretty, testing
6060

6161
[testenv:py312-pydocstyle]
6262
allowlist_externals = make

0 commit comments

Comments
 (0)