From 68cf28565d4c56f684f44421f8c78cc57b57e6bc Mon Sep 17 00:00:00 2001 From: TheNetworkGuy Date: Mon, 28 Apr 2025 15:47:37 +0200 Subject: [PATCH] Fixed some pipeline stuff --- .github/workflows/publish-image.yml | 3 --- .github/workflows/quality.yml | 7 ++++--- .github/workflows/run_tests.yml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index e9e6421..e6d07fe 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -4,9 +4,6 @@ on: push: branches: - main - - dockertest -# tags: -# - [0-9]+.* env: REGISTRY: ghcr.io diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 7b01f6f..745f948 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -1,11 +1,12 @@ --- name: Pylint Quality control -on: - workflow_call +on: + push: + pull_request: jobs: - build: + python_quality_testing: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index cae8b02..6413d9c 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -17,7 +17,7 @@ jobs: python -m pip install --upgrade pip pip install pytest pytest-mock pip install -r requirements.txt - - name: Analysing the code with pylint + - name: Testing the code with PyTest run: | cp config.py.example config.py pytest tests