-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-86275: improve Hypothesis configuration for CI and local runs #104468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -368,6 +368,14 @@ jobs: | |
| echo "HYPOVENV=${VENV_LOC}" >> $GITHUB_ENV | ||
| echo "VENV_PYTHON=${VENV_PYTHON}" >> $GITHUB_ENV | ||
| ./python -m venv $VENV_LOC && $VENV_PYTHON -m pip install -U hypothesis | ||
| - name: 'Restore Hypothesis database' | ||
| id: cache-hypothesis-database | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: ./hypothesis | ||
| key: hypothesis-database-${{ github.head_ref || github.run_id }} | ||
| restore-keys: | ||
| - hypothesis-database- | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Zac-HD did you mean to keep that leading hyphen?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This makes it look up the Cache not found for input keys: hypothesis-database-9927179210, - hypothesis-database-(https://github.com/python/cpython/actions/runs/9927179210/job/27421821417#step:21:24)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| - name: "Run tests" | ||
| working-directory: ${{ env.CPYTHON_BUILDDIR }} | ||
| run: | | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.