Simon Willison
ce4b0794b2
Ported setup.py to pyproject.toml ( #2555 )
...
* Ported setup.py to pyproject.toml, refs #2553
* Make fixtures tests less flaky
The in-memory fixtures table was being shared between different
instances of the test client, leading to occasional errors when
running the full test suite.
2025-10-30 10:41:41 -07:00
Simon Willison
85da8474d4
Python 3.14, drop Python 3.9
...
Closes #2506
2025-10-08 13:11:32 -07:00
Simon Willison
53a3b3c80e
Test improvements and fixed deprecation warnings ( #2464 )
...
* `asyncio_default_fixture_loop_scope = function`
* Fix a bunch of BeautifulSoup deprecation warnings
* Fix for PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
* xfail for sql_time_limit tests (these can be flaky in CI)
Refs #2461
2025-02-04 14:49:52 -08:00
Simon Willison
b9047d812a
Skip the serial marked tests in pytest coverage
...
Refs https://github.com/simonw/datasette/issues/2461#issuecomment-2634896235
2025-02-04 11:37:01 -08:00
Simon Willison
2e4a03b2c4
Run coverage on Python 3.12
...
- #2245
I hoped this would run slightly faster than 3.9 but there doesn't appear to be a performance improvement.
2024-01-31 15:31:26 -08:00
Naveen
2e9751672d
chore: Set permissions for GitHub actions ( #1740 )
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9
2020-10-09 09:22:49 -07:00
Simon Willison
adfe304281
Upgrade pip in GitHub Actions runs
2020-08-11 16:12:22 -07:00
Simon Willison
7ca8c0521a
Calculate coverage on pushes to main
...
Refs #849
2020-07-31 16:23:02 -07:00
Simon Willison
cf7a2bdb40
Action to run tests and upload coverage to codecov.io
...
Closes #843 .
2020-06-13 14:36:49 -07:00