We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c91f1 commit 741cbd0Copy full SHA for 741cbd0
.github/workflows/python-nightly.yml
@@ -110,6 +110,22 @@ jobs:
110
python -m coverage debug pybehave
111
env | sort
112
113
+ - name: "Check build recency"
114
+ #if: "!startsWith(matrix.python-version, 'pypy-')"
115
+ shell: python
116
+ run: |
117
+ import platform
118
+ from datetime import datetime
119
+ for fmt in ["%b %d %Y %H:%M:%S", "%b %d %Y"]:
120
+ try:
121
+ built = datetime.strptime(platform.python_build()[1], fmt)
122
+ except ValueError:
123
+ continue
124
+ now = datetime.now()
125
+ days = (now - built).days
126
+ print(f"Days since Python was built: {days}")
127
+ assert days <= 7
128
+
129
- name: "Install dependencies"
130
run: |
131
python -m pip install -r requirements/tox.pip
0 commit comments