1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00
Files
blag/.gitea/workflows/python-package.yaml
Freyja Odinthrir 38a91e0abc Update workflow
- change to `gitea.com` for used actons
- bump checkout 4 -> 5
- bump setup-python 5 -> 6
- bump python version 3.11 -> 3.12
- only run actions on version tag.

update changelog
- fix history
- add section for this update.
2025-09-10 17:07:28 -07:00

37 lines
746 B
YAML

name: CI/CD Pipeline
on:
push:
tags:
- "v**"
jobs:
job1:
runs-on: ubuntu-latest
steps:
- uses: https://gitea.com/actions/checkout@v5
- uses: https://gitea.com/actions/setup-python@v6
with:
python-version: "3.12"
- run: |
make venv
- run: |
make lint
- run: |
make mypy
- run: |
make test
- run: |
make test-release
-
name: Push to docker pypi registry.
env:
TWINE_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
TWINE_REPOSITORY_URL: "https://gitea.raer.me/api/packages/freyjagp/pypi"
run: |
venv/bin/python3 -m twine upload --verbose dist/*