Simon Willison
84dbd99fd2
Try tests against 3.12-dev
...
Tip from https://mastodon.social/@hugovk/109425673640881103
2022-11-28 22:55:11 -08:00
Simon Willison
e135da8efe
Python 3.11 in CI
2022-10-25 07:13:43 -07:00
Simon Willison
1c29b925d3
Run tests in serial again
...
Because this didn't fix the issue I'm seeing in #1802
Revert "Run tests in serial, refs #1802"
This reverts commit b91e17280c
.
2022-09-05 17:10:52 -07:00
Simon Willison
b91e17280c
Run tests in serial, refs #1802
2022-09-05 16:50:53 -07:00
Simon Willison
ba35105eee
Test `--load-extension` in GitHub Actions ( #1792 )
...
* Run the --load-extension test, refs #1789
* Ran cog, refs #1789
2022-08-23 17:11:45 -07: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
289e4cf80a
Finished applying blacken-docs, closes #1718
2022-04-24 09:17:59 -07:00
Simon Willison
36573638b0
Apply Black to code examples in documentation, refs #1718
...
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
2022-04-24 08:50:43 -07:00
Simon Willison
40ef8ebac2
Run tests on pull requests
2022-04-24 07:10:13 -07:00
Simon Willison
a9d8824617
Test against Python 3.11-dev
...
Closes #1621
2022-02-02 13:58:52 -08:00
Simon Willison
d194db4204
Output pip freeze to show installed packages, refs #1609
2022-01-20 18:02:04 -08:00
Simon Willison
fae3983c51
Drop support for Python 3.6, closes #1577
...
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
4b23f01f3e
CLI reference docs, maintained by cog - refs #1594
2022-01-13 13:35:54 -08:00
Simon Willison
96a823f283
Fix compatibility with Python 3.10 ( #1481 )
...
* Run tests against Python 3.10
* Upgrade to Janus 0.6.2 for Python 3.10
* Add 3.10 to classifiers
Closes #1482
2021-10-24 15:19:54 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests ( #1290 )
...
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist
Closes #1289
2021-04-02 20:42:28 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9
2020-10-09 09:22:49 -07:00
Simon Willison
5e0b72247e
Run CI on GitHub Actions, not Travis
...
* Run CI on GitHub Actions, not Travis - refs #940
* Update documentation refs to Travis
* Release action now runs parallel tests, then pushes to PyPI, then Docker Hub
2020-08-17 22:09:34 -07:00