Clean-up module
This commit is contained in:
parent
552965a90d
commit
5fc6a028ec
9 changed files with 826 additions and 3 deletions
25
.forgejo/workflows/cd.yaml
Normal file
25
.forgejo/workflows/cd.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: CD
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
cache: 'pip'
|
||||
|
||||
- run: pip install -r requirements.txt
|
||||
|
||||
- run: python3 -m build
|
||||
|
||||
- run: twine upload dist/*
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
17
.forgejo/workflows/ci.yaml
Normal file
17
.forgejo/workflows/ci.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: CI
|
||||
|
||||
on: [ push ]
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
cache: 'pip'
|
||||
|
||||
- run: pip install -r requirements.txt
|
||||
|
||||
- run: pylint --max-line-length=120 netbox_pve_sync
|
Loading…
Add table
Add a link
Reference in a new issue