From c6bcb05ac611be0f1afce5992f88b48d019d89b6 Mon Sep 17 00:00:00 2001 From: Elara6331 Date: Wed, 13 Nov 2024 23:27:14 -0800 Subject: [PATCH] Run tests in CI pipeline --- .woodpecker.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 99f3540..1c5265b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,10 +8,17 @@ clone: tags: true steps: + test: + image: python + commands: + - python -m unittest + when: + event: [tag, pull_request] + build: image: python commands: - - python -m pip install hatchling hatch-vcs build + - python -m pip install build - python -m build when: event: tag