CI: Fix the Woodpecker CI warning "Set an event filter for all steps"

This commit is contained in:
Alexander Popov
2025-07-02 00:30:23 +03:00
parent e704a7ff40
commit b82cb5f67f
4 changed files with 18 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
# .woodpecker.yml
steps:
unit-test:
- name: unit-test
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- python3 --version

View File

@@ -1,7 +1,9 @@
# .woodpecker.yml
steps:
functional-test-with-coverage:
- name: functional-test-with-coverage
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- python3 --version

View File

@@ -1,7 +1,9 @@
# .woodpecker.yml
steps:
build-test:
- name: build-test
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- python3 --version
@@ -11,8 +13,10 @@ steps:
- python3 -m build .
- echo "Check the package metadata..."
- twine check --strict dist/*
installation-test:
- name: installation-test
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- cd ..

View File

@@ -1,7 +1,9 @@
# .woodpecker.yml
steps:
static-typing-checking:
- name: static-typing-checking
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- python3 --version
@@ -9,8 +11,10 @@ steps:
- python3 -m pip install mypy
- echo "Run mypy..."
- mypy kernel_hardening_checker/ --show-error-context --pretty --no-incremental --check-untyped-defs --disallow-untyped-defs --strict-equality
pylint-checking:
- name: pylint-checking
image: python:3
when:
- event: [push, tag, manual]
commands:
- ls -la
- python3 --version