when: - event: push branch: woodpecker steps: - name: build image: python:3.11.7-alpine commands: - python3 -m venv env - source env/bin/activate - pip install -r requirements.txt pytest - python3 -m pytest --junit-xml=pytest_junit.xml