Commit Graph

68 Commits

Author SHA1 Message Date
Tzu-ping Chung bd9bcef8b3 Enable importlib.metadata backend on Python 3.11 2022-05-10 13:34:43 -04:00
Tzu-ping Chung 321c9675db Add compat shim to find eggs in importlib backend 2022-04-12 03:33:18 +08:00
Tzu-ping Chung a640a24350 Fix CI bzr installation 2022-04-12 03:31:50 +08:00
Tzu-ping Chung a9cf547dd1 Add workflow to run tests against the new backend 2022-04-12 03:26:12 +08:00
Pradyun Gedam ef7e0c34de
Avoid setuptools 60.6.0
It has a bug that breaks our test suite, and the relevant bug is being
investigated at the moment.
2022-02-01 09:04:00 +00:00
Diego Ramirez 9436e16cf3
Pass `FORCE_COLOR=1` to the CI, to colorize Nox
This is just a preference, I'm approaching a new Nox ability.
2022-01-25 14:03:15 -06:00
Pradyun Gedam 9e05fc1f00
Merge pull request #10796 from pradyunsg/try-fixing-test-suite 2022-01-14 12:03:49 +00:00
Pradyun Gedam 764d8841fe
Use the standard library distutils for running tests
This is in line with what our unit tests are written with the assumption
of.
2022-01-14 11:29:16 +00:00
Hugo van Kemenade fbf75b4965 CI: Only lock threads on upstream 2022-01-11 15:43:42 +02:00
Pradyun Gedam fa2d428e43
Autocancel repeated CI runs
This will ensure that any specific pull request (or commit) only has a
single CI run happening at any point in time.
2021-12-03 14:37:04 +00:00
Diego Ramirez a829016820 Improve the news file and the CI 2021-12-01 14:23:20 -06:00
Diego Ramirez e0f6628ff5 Implement suggestions, and use more Nox sessions in our CI 2021-12-01 12:22:29 -06:00
Diego Ramirez 7ced6c583b Replace tox with Nox (CLI, docs) 2021-11-29 09:29:14 -06:00
Pradyun Gedam c6c6222f9e
Drop Python 3.9 from Windows CI 2021-11-12 08:04:57 +00:00
Hugo van Kemenade 0252c04a16 Drop support for soon-EOL Python 3.6 2021-11-08 12:02:16 +02:00
Diego Ramirez 92cfe0aa35
Bump the `lock-threads` action to version 3
This version has been released recently. Also, I had to modify the arguments passed to the action.
2021-09-29 14:20:24 -05:00
Pradyun Gedam 3b73331097
Add a GitHub Actions workflow, to lock closed threads
This replaces the now-disabled lock-bot, which did the same thing.
2021-09-22 07:18:13 +01:00
Pradyun Gedam 035bc84682
Add CI job to ensure that the documentation builds without warnings
This will help with issues that are being flagged as warnings by Sphinx.
2021-09-18 09:12:45 +01:00
Hugo van Kemenade be94a164a2 CI: Only label merge conflicts on upstream 2021-09-03 13:08:28 +03:00
Jon Dufresne a775351a38 Clean up leftover references to removed Travis and Azure CI 2021-08-28 20:01:58 -07:00
Pradyun Gedam 24541d3e2b
Explicitly set permissions for label-merge-conflicts 2021-08-15 18:29:57 +01:00
Pradyun Gedam eb700d7b95
Add a name for label-merge-conflicts 2021-08-15 13:23:49 +01:00
Pradyun Gedam 93f200aeda
Perform merge-conflict label checks, via GitHub Actions 2021-08-15 13:23:49 +01:00
Pradyun Gedam 7b96794ad2
Add missing word to guidance on check failure
Co-authored-by: Stéphane Bidoul <stephane.bidoul@acsone.eu>
2021-08-15 11:57:58 +01:00
Pradyun Gedam 96b0ef029b
Provide additional context on news entry check failures 2021-08-15 10:32:20 +01:00
Pradyun Gedam 116e53145b
Change the news-file check
- Rename the file.
- Give it a better name in checks view.
- Use the ref the PR will merge into.
2021-08-15 09:36:05 +01:00
Tzu-ping Chung d8fba8d95a
Merge pull request #9785 from hexagonrecursion/main 2021-08-15 11:25:53 +08:00
Pradyun Gedam c9b234c2af
Permit pre-release versions of Python 3.10 in CI 2021-08-06 13:42:31 +01:00
Pradyun Gedam 4ee9a4af25
Add Python 3.10 support 2021-08-06 13:42:31 +01:00
Pradyun Gedam 236c0ccb8a
Move test requirements into tests/
This makes the file easier to locate, by placing it next to the stuff
that it will affect.
2021-07-24 12:06:51 +01:00
Pradyun Gedam e9cc23ffd9
Skip checks on PRs only 2021-04-24 10:00:54 +01:00
Pradyun Gedam 73dca3a43a
Change quotes 2021-04-21 10:00:46 +01:00
Pradyun Gedam 3df69bcb29
Run all of CI, on scheduled runs 2021-04-17 15:33:58 +01:00
Hugo van Kemenade ec59cc0968 Run CI on main not master 2021-04-07 17:48:55 +03:00
Andrey Bienkowski 80ebeb5a5c
Create news-file.yaml 2021-04-07 08:32:06 +00:00
Stéphane Bidoul ec0a1cb9f0 ci: fix pre-commit action 2021-04-04 13:39:10 +02:00
Pradyun Gedam 1ab662f330
Trim the number of Windows jobs we run 2021-04-02 01:27:01 +01:00
Pradyun Gedam 876df5a57f
Remove PyPy3 for now 2021-04-02 01:26:55 +01:00
Pradyun Gedam c022615961
Add a single GitHub Actions workflow for CI 2021-04-02 01:26:26 +01:00
Pradyun Gedam 0cdf9d7260
Drop all existing CI 2021-04-01 23:29:19 +01:00
Hugo van Kemenade cc00f8ac71 Allow testing of feature branches 2020-12-28 18:36:03 +02:00
Pradyun Gedam 527550d5a7
Drop Python 2.7 and 3.5 from CI 2020-12-19 19:55:04 +00:00
Pradyun Gedam 962a0169b2
Use the new environment files
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-19 13:36:18 +00:00
Pradyun Gedam 0e135407c7
Simplify YAML + better names 2020-10-27 02:10:36 +05:30
Pradyun Gedam d4cde6cb10
Fix typo 2020-10-27 01:49:00 +05:30
Pradyun Gedam bb38dd568b
Add GitHub Action based testing for MacOS 2020-10-27 01:32:49 +05:30
Nguyễn Gia Phong da7569a440 Document and start testing Python 3.9 support
At first use it for GitHub Action for linting.
2020-10-12 17:37:23 +07:00
Pradyun Gedam 28389e8338
Simplify our Linting GitHub Action 2020-04-02 01:55:09 +05:30
Xavier Fernandez dfd6a163bd
GitHub Actions: update cache key to include interpreter path (#7835)
And make it more portable by using python
2020-03-09 15:17:17 +01:00
Pradyun Gedam 82b4566a7f
Merge pull request #7611 from webknjaz/testing/gh-actions-ci-cd-linters
Adjust GitHub Actions CI/CD linters
2020-02-19 20:03:46 +05:30