chore: update ci workflows

this adds a proper release workflow (that I already know) and a test
workflow that installs and uses pytest
This commit is contained in:
PlexSheep 2025-01-24 14:50:09 +01:00
parent 72d8ab526f
commit 8499c81f7d
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB
3 changed files with 56 additions and 50 deletions

24
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,24 @@
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: python