Commit Graph

278 Commits

Author SHA1 Message Date
David Hewitt 8e5ef9058b ci: run beta clippy as an allowed-to-fail job 2023-11-28 07:29:45 +00:00
David Hewitt 24f3d0da62 enable cargo-semver-checks, try 2 2023-11-18 13:25:05 +00:00
David Hewitt a9305ab389 ci: move lints to new 1.74 cargo.toml tables 2023-11-17 15:41:52 +00:00
David Hewitt ef9741850f ci: try to run without rust-toolchain.toml 2023-11-14 19:54:39 +00:00
David Hewitt 3042ab1621 ci: switch from black to ruff 2023-10-26 21:04:49 +01:00
Adam Reichold 95c8ee9afc
Merge pull request #3542 from PyO3/dependabot/github_actions/actions/setup-node-4
Bump actions/setup-node from 3 to 4
2023-10-25 19:07:24 +00:00
David Hewitt d835a4c86c allow CI to continue when nightly Rust is broken 2023-10-25 08:33:00 +01:00
dependabot[bot] 0f42c688f8
Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:32:21 +00:00
dependabot[bot] 64b639b945
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:32:16 +00:00
David Hewitt bf2c5a896b add codspeed benchmarks 2023-10-19 21:36:05 +01:00
David Hewitt e502c133a4 ci: include beta as an allowed-to-fail job 2023-10-18 22:21:29 +01:00
David Hewitt 0c58648059 ci: install prebuilt cargo-careful 2023-10-16 20:16:01 +01:00
David Hewitt 6801c508a8 keep emscripten back on 3.11 for now 2023-10-13 08:25:36 +02:00
David Hewitt 2b7eb3a05e also test emscripten with CI-build-full 2023-10-13 00:57:39 +02:00
David Hewitt b2df27f0a1 bump "latest" CI jobs to 3.12 2023-10-13 00:57:39 +02:00
David Hewitt 6c6c607ad3 bump test-debug to 3.12 2023-10-04 19:58:27 +01:00
David Hewitt 86fc62c5e7 support python 3.12 2023-10-02 20:57:41 +01:00
David Hewitt 668918f5d3 skip changelog check for docs-only PRs 2023-09-21 21:43:48 +01:00
dependabot[bot] f470fd2d82
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 20:30:05 +00:00
David Hewitt 0b87297fee split out release and cpython version in test-debug 2023-09-09 22:29:58 +01:00
David Hewitt 95fe0a708c test debug build in CI 2023-09-09 22:29:58 +01:00
dependabot[bot] b9f4197bf5
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 20:47:53 +00:00
David Hewitt c2e8ba3c14 move benches to subdirectory 2023-07-30 07:36:47 +01:00
David Hewitt 264cba557a ci: stop allowing failure for pypy 3.10 2023-07-25 21:24:40 +01:00
David Hewitt 16d9c56341 always run ffi-check on dev pythons 2023-07-25 07:35:57 +01:00
David Hewitt f5d4083131 ci: run valgrind and careful with 'CI-build-full' label 2023-07-03 21:20:49 +01:00
David Hewitt 9f2176c126 support PyPy 3.10 2023-07-03 11:26:45 +01:00
David Hewitt 48c16a6878 move pyo3-ffi-check into its own workspace 2023-06-27 22:54:10 +01:00
David Hewitt c434263241 ci: allow failure on 3.7 and pypy nightly 2023-06-12 20:30:03 +01:00
David Hewitt 671ed933e2 ci: allow failures in 3.12 builds for now 2023-06-11 21:57:17 +01:00
David Hewitt 621898b07d ci: add Python 3.12-dev jobs 2023-06-11 21:57:17 +01:00
David Hewitt 618d99966f ci: remove bors configuration 2023-06-08 20:56:40 +01:00
David Hewitt 24ea1de27b ci: fail ffi-check on pypy failures 2023-06-08 07:18:08 +01:00
David Hewitt b9c42b9c93 ci: enable full builds with a label 2023-06-07 22:22:32 +01:00
David Hewitt a1f0d91a67 ci: add pypy3.10-nightly 2023-06-07 08:40:47 +01:00
David Hewitt 05b97dd964 fix usage for paths-filter in merge_group 2023-06-06 08:22:20 +01:00
David Hewitt 342e4ca678
Merge pull request #3206 from davidhewitt/gh-merge-queue
add github merge queue support
2023-06-06 06:32:05 +00:00
Adam Reichold f6e1f26676 Enable v2 resolver on the workspace to enable dropping PYO3_CI workaround. 2023-06-05 18:54:35 +02:00
Adam Reichold b49e401319 Remove unmatched cfg and unused rustup component. 2023-06-05 09:36:13 +02:00
David Hewitt 1bbd556718 run cargo check instead of clippy for MSRV in CI 2023-06-04 23:15:59 +01:00
Adam Reichold 5738edfdd4 Bump MSRV to 1.56 2023-06-04 23:02:30 +01:00
David Hewitt a70e3983b4 add github merge queue support 2023-06-04 19:36:28 +01:00
Adam Reichold 8b14797403 Also ignore error outputs on MSRV to further simplify UI tests. 2023-05-25 21:37:05 +02:00
Adam Reichold 426e18932b Simplify version handling of UI tests.
Due to checking in error outputs these tests only work reliably on stable and
not on intermediate version between our MSRV (currently 1.48) and the current
stable version.

Hence this simplifies things to run only MSRV-compatible tests for the MSRV
builds, anything else for stable builds except for those tests which require the
nightly feature, i.e. the `Ungil` being distinct from the `Send` trait.

Finally, `not_send3` is disabled when using the nightly feature since while `Rc`
is not send, it also not GIL-bound and hence can be passed into `allow_threads`
as it does not actually spawn a new thread.
2023-05-25 21:34:43 +02:00
Adam Reichold 9257e78e90 Fix Clippy CI job cache to really include the platform. 2023-05-10 07:59:01 +02:00
Adam Reichold 0f12d72f7a Enable rust-cache on clippy CI jobs as we do for build CI jobs. 2023-05-09 22:05:57 +02:00
Adam Reichold 3343d683da Explicitly install the rust-src component as we repeatedly had CI failures when this was installed on-demand in the MSRV Clippy job. 2023-05-09 09:39:23 +02:00
Adam Reichold b52730ac27 Make sure to upgrade pip before trying to install nox. 2023-05-01 18:13:49 +02:00
David Hewitt d8f7e6b41b ci: use codecov coverage format 2023-04-18 21:44:14 +01:00
Adam Reichold f981fded3f Actually set target when running Clippy builds. 2023-04-14 18:41:45 +02:00