mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 12:12:57 -06:00
Fixed some pipeline stuff
This commit is contained in:
parent
0c715d4f96
commit
68cf28565d
3
.github/workflows/publish-image.yml
vendored
3
.github/workflows/publish-image.yml
vendored
@ -4,9 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- dockertest
|
|
||||||
# tags:
|
|
||||||
# - [0-9]+.*
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
|
5
.github/workflows/quality.yml
vendored
5
.github/workflows/quality.yml
vendored
@ -2,10 +2,11 @@
|
|||||||
name: Pylint Quality control
|
name: Pylint Quality control
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
python_quality_testing:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
2
.github/workflows/run_tests.yml
vendored
2
.github/workflows/run_tests.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest pytest-mock
|
pip install pytest pytest-mock
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Analysing the code with pylint
|
- name: Testing the code with PyTest
|
||||||
run: |
|
run: |
|
||||||
cp config.py.example config.py
|
cp config.py.example config.py
|
||||||
pytest tests
|
pytest tests
|
||||||
|
Loading…
Reference in New Issue
Block a user