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 26, 2024
1 parent fc2e175 commit d9fb943
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 @@ -85,13 +85,43 @@ jobs:
- macos-14
- macos-13
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 d9fb943

Please sign in to comment.