Hynek Schlawack
5f93a31aff
Switch to build-and-inspect-python-package ( #1307 )
...
* Switch to build-and-inspect-python-package
Use the occasion to factor out PyPy jobs which simplifies everthing.
* Only install pytest-codspeed when benchmarking
* No need to build twice on PRs
* No coverage on PyPy
* Still require PyPy to pass
* Actually remove codspeed from tests
* Separate glacial CodSpeed into own workflow
Might switch to on-demand/cron if we don't find a way for it to run
under 5 minutes.
* Get rid of version override
* Add missing needs
* Test should pass without src
* oops
* Make PyPy wheel-only, too
* Clarify
* Explain how the matrix works since everybody steals my stuff
2024-07-19 10:56:10 +02:00
Hynek Schlawack
2047e566bf
Update baipp & download artifacts
2023-12-31 06:43:57 +01:00
dependabot[bot]
9719254054
Bump actions/checkout from 3 to 4 ( #1188 )
...
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 07:45:12 +02:00
Hugo van Kemenade
336ea8b691
CI: Only attempt publish for upstream ( #1179 )
...
Only attempt publish for upstream
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-08-20 10:08:07 +00:00
Hynek Schlawack
56cbf826df
Switch PyPI to Trusted Publisher
2023-04-24 14:37:37 -06:00
Hynek Schlawack
1cd712ec19
Drop harden-runner ( #1115 )
...
Sadly, the host names aren't entirely predictable and we're getting spurious failures & warnings.
2023-04-03 08:18:52 +02:00
Hynek Schlawack
f7f0bf42e7
Fix GHA warning
2023-03-17 06:12:45 +01:00
Hynek Schlawack
c9c7595b69
Switch to hatch-vcs ( #1094 )
...
Also start publishing every commit to main to <https://test.pypi.org/project/attrs/ >.
2023-01-29 11:21:20 +01:00
Hynek Schlawack
f04dce20f1
Allow upload.pypi.org
2022-12-21 10:41:58 +01:00
Hynek Schlawack
ae4324df88
Streamline deployment workflow
2022-12-19 16:06:37 +01:00
Hynek Schlawack
bf66b34d23
Simplify pkg building
2022-12-19 15:40:41 +01:00
Hynek Schlawack
edb1fd23cc
Use correct block
2022-12-19 15:33:05 +01:00
Hynek Schlawack
f494c617dc
Check dist directory
2022-12-19 15:29:15 +01:00
Hynek Schlawack
d80cee82d1
Allow pypi.org for test uploads for installs
2022-12-19 15:22:42 +01:00
Hynek Schlawack
fcf5f343c1
Environments are protection enough
2022-12-19 14:57:10 +01:00
Hynek Schlawack
2b2074c824
Don't run PyPI on pushes / PRs
2022-12-19 14:56:15 +01:00
Hynek Schlawack
a74bb8e1bd
Automate PyPI releases ( #1071 )
...
* Automate PyPI releases
* Update .github/workflows/pypi-package.yml
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
* Update .github/workflows/pypi-package.yml
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
* Split uploads for more granular control
* Add fix for coverage 7
* Use environments
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
2022-12-19 14:55:18 +01:00