Skip to content

Commit

Permalink
include the output redirection inside the dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor committed Jun 2, 2024
1 parent 00f8617 commit dcb0a02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,5 @@ jobs:
git fetch origin "${GITHUB_HEAD_REF}"
git checkout "${GITHUB_HEAD_REF}"
pdm badges-only
pdm timestamp > badges.txt
git commit -am "Update Badges"
git push
2 changes: 1 addition & 1 deletion badges/timestamp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sun Jun 2 15:05:49 UTC 2024
Sun Jun 2 15:12:18 UTC 2024
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ regression = "tox -e 'py38,py39,py310,py311,py312' --parallel"
fmt = "black {args:src/}"
lint = "flake8 {args:src/}"
typing = "mypy {args:src/}"
timestamp = {cmd="date -u"}
badges-timestamp = {shell="date -u > badges/timestamp.txt"}

[tool.pdm.scripts.style]
composite = [
Expand Down Expand Up @@ -71,6 +71,7 @@ composite = [
"genbadge tests -o badges/tests.svg",
"genbadge coverage -o badges/coverage.svg",
"genbadge flake8 -i reports/flake8/stats.txt -o badges/flake8.svg",
"badges-timestamp"
]

[tool.pdm.scripts.badges]
Expand Down

0 comments on commit dcb0a02

Please sign in to comment.