Skip to content

Commit

Permalink
Merge pull request #1314 from ClearcodeHQ/pipfile
Browse files Browse the repository at this point in the history
Drop Pipfile.lock from repository. Rely on the cached and in artifact…
  • Loading branch information
fizyk committed Mar 11, 2024
2 parents 929a4ea + c7e88c8 commit 1044fa2
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 989 deletions.
1 change: 0 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
lint:
uses: fizyk/actions-reuse/.github/workflows/linters-python.yml@v2.4.2
with:
pipenv-install-options: "--skip-lock"
mypy: true
black: true
ruff: true
2 changes: 0 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: "3.11"
pipenv-install-options: "--skip-lock"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
Expand All @@ -22,6 +21,5 @@ jobs:
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: "3.11"
pipenv-install-options: "--skip-lock"
command: towncrier check --compare-with origin/main
fetch-depth: 0
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest -n 0 --cov-report=xml
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.2
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest -n 1 --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.1.0
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ develop-eggs
lib
lib64

# Pipenv
Pipfile.lock

# Installer logs
pip-log.txt

Expand Down
983 changes: 0 additions & 983 deletions Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions newsfragments/1314.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rely on cached/artifacted Pipfile.lock. This allows to use pipenv seamlessly on more than single python versions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ showcontent = true

[tool.towncrier.fragment.misc]
name = "Miscellaneus"
showcontent = true
showcontent = false

[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
Expand Down

0 comments on commit 1044fa2

Please sign in to comment.