From dc39e52db12317f1f4fca96642eef6db3da509b5 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 23 Aug 2023 12:53:10 -0700 Subject: [PATCH] fix: update basic usage example --- src/examples/basic_upload.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/examples/basic_upload.yml b/src/examples/basic_upload.yml index 79af16e..dbe6132 100644 --- a/src/examples/basic_upload.yml +++ b/src/examples/basic_upload.yml @@ -6,8 +6,17 @@ usage: version: 2.1 orbs: codecov: codecov/codecov@3.2.5 + jobs: + test-and-upload-python: + docker: + - image: cimg/python:3.10 + steps: + - checkout + - run: pip install -r requirements.txt + - run: pytest --cov . + - codecov/upload + workflows: upload-to-codecov: jobs: - - checkout - - codecov/upload + - test-and-upload-python