-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add uv based workflows * ci: use env namespace * chore: add uv based Makefile * ci: remove unused actions * ci(test): fix python-version * ci: bump uv to 0.4.18 * ci: do not use hashes from workflow file * ci: set python 3.9 as minimum version * ci: also test for python 3.13 * ci: also test for python 3.14-dev * ci(deps): bump uv to 0.5.1 * ci: use setup-uv action * ci: bump codecov-action to v5 * chore: update uv export * chore: fix typo * chore: fix uv export * chore: do not emit project * ci: only cache uv, not .venv * ci: add --all-packages to uv sync calls * chore: use uv instead of pdm * chore: remove old Makefile and CI * chore: migrate pre-commit-config * chore: add --all-packages to uv sync calls * chore: adapt Makefile to project * ci: adapt CI workflows to project * ci: bump codecov-action to v5 * ci: use make install-dev where possible * style: sort some imports
- Loading branch information
1 parent
7c6a916
commit aa9c397
Showing
15 changed files
with
1,002 additions
and
1,783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,25 +2,25 @@ | |
|
||
In this folder there is configuration for codecoverage, dependabot and ci workflows. | ||
|
||
This folder can be merged using a `--allow-unrelated-histories` merge strategy from <https://github.com/spraakbanken/python-pdm-ci-conf> which provides a reasonably sensible base for writing your own ci on. By using this strategy the history of the CI repo is included in your repo, and future updates to the CI can be merged later. | ||
This folder can be merged using a `--allow-unrelated-histories` merge strategy from <https://github.com/spraakbanken/python-uv-ci-conf> which provides a reasonably sensible base for writing your own ci on. By using this strategy the history of the CI repo is included in your repo, and future updates to the CI can be merged later. | ||
|
||
The workflows in this folder requires a root Makefile with a couple of targets defined. | ||
As base can the Makefile in <https://github.com/spraakbanken/python-pdm-make-conf> be used. | ||
As base can the Makefile in <https://github.com/spraakbanken/python-uv-make-conf> be used. | ||
|
||
## Publish | ||
|
||
The `publish`-step in [test.yml](./workflows/test.yml) is configured to use the GitHub environment `release`, create that or change to your preferred environment. | ||
The `publish`-step in [release.yml](./workflows/release.yml) is configured to use the GitHub environment `release`, create that or change to your preferred environment. | ||
To publish to PyPI you must also configure your Pypi-project settings to use Trusted Publisher Management, by setting repo, workflow and environment on PyPI. | ||
|
||
To perform this merge run: | ||
|
||
```shell | ||
git remote add ci [email protected]:spraakbanken/python-pdm-ci-conf.git | ||
git remote add ci [email protected]:spraakbanken/python-uv-ci-conf.git | ||
git fetch ci | ||
git merge --allow-unrelated-histories ci/main | ||
``` | ||
|
||
or add the remote as `git remote add ci https://github.com/spraakbanken/python-pdm-ci-conf.git` | ||
or add the remote as `git remote add ci https://github.com/spraakbanken/python-uv-ci-conf.git` | ||
|
||
To later merge updates to this repo, just run: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.