From d8a6bcc0dbe18fbb45bd9507a61e207a728b53c6 Mon Sep 17 00:00:00 2001 From: Ashley James Date: Thu, 8 Feb 2024 18:32:54 +0530 Subject: [PATCH] Add workflow dispatch event to check.yaml (#8) * Add workflow dispatch event to check.yaml * chore: fix lint errors --- .github/workflows/check.yaml | 1 + src/tests/functional/tests/test_prometheus_blackbox_exporter.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index e9c32e2..d1d5774 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -2,6 +2,7 @@ name: Check workflow running linter, unit and functional tests on: workflow_call: + workflow_dispatch: pull_request: types: [opened, synchronize, reopened] branches: [master, main] diff --git a/src/tests/functional/tests/test_prometheus_blackbox_exporter.py b/src/tests/functional/tests/test_prometheus_blackbox_exporter.py index 64d6c2f..4742eb4 100644 --- a/src/tests/functional/tests/test_prometheus_blackbox_exporter.py +++ b/src/tests/functional/tests/test_prometheus_blackbox_exporter.py @@ -1,4 +1,5 @@ """Encapsulate prometheus-blackbox-exporter testing.""" + import logging import time import unittest