CI: Fix the Woodpecker CI warning "Set an event filter for all steps"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ..
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user