Skip to content

Commit

Permalink
Wire extra lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Aug 21, 2024
1 parent 03d8f14 commit 0fa03bc
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 5 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pip-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,43 @@ jobs:
- macos-13
- windows-2019
lock-file-env:
- build-dists
- build-docs
- linkcheck-docs
- metadata-validation
- pip-compile
- pip-compile-build-lock
- pip-compile-tox-env-lock
- pre-commit
- py
- tox
- spellcheck-docs
lock-file-extra-input:
- pyproject.toml
- ''
exclude:
- lock-file-env: build-dists
lock-file-extra-input: pyproject.toml
- lock-file-env: build-docs
lock-file-extra-input: ''
- lock-file-env: linkcheck-docs
lock-file-extra-input: ''
- lock-file-env: metadata-validation
lock-file-extra-input: pyproject.toml
- lock-file-env: pip-compile
lock-file-extra-input: pyproject.toml
- lock-file-env: pip-compile-build-lock
lock-file-extra-input: pyproject.toml
- lock-file-env: pip-compile-tox-env-lock
lock-file-extra-input: pyproject.toml
- lock-file-env: pre-commit
lock-file-extra-input: pyproject.toml
- lock-file-env: py
lock-file-extra-input: ''
- lock-file-env: tox
lock-file-extra-input: pyproject.toml
- lock-file-env: spellcheck-docs
lock-file-extra-input: ''

env:
TOXENV: pip-compile-tox-env-lock
Expand Down
2 changes: 2 additions & 0 deletions requirements/tox-metadata-validation.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
setuptools-scm
twine
1 change: 1 addition & 0 deletions requirements/tox-pip-compile-build-lock.in
1 change: 1 addition & 0 deletions requirements/tox-pip-compile-tox-env-lock.in
1 change: 1 addition & 0 deletions requirements/tox-pre-commit.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit >= 2.6.0
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ description =
have valid metadata
depends =
build-dists
deps =
setuptools-scm
twine
deps = -rrequirements{/}tox-{envname}.in
commands_pre =
{envpython} \
{[python-cli-options]byte-errors} \
Expand Down Expand Up @@ -216,8 +214,7 @@ commands_post =
); \
print("codecov-flags=MyPy", file=gh_output_fd); \
gh_output_fd.close()'
deps =
pre-commit >= 2.6.0
deps = -rrequirements{/}tox-{envname}.in
isolated_build = true
package = skip
pass_env =
Expand Down

0 comments on commit 0fa03bc

Please sign in to comment.