From 47e000392d9e770795b959659e1821f4f8ff9596 Mon Sep 17 00:00:00 2001 From: Graeme22 Date: Tue, 25 Jul 2023 16:23:40 -0500 Subject: [PATCH] add pytest --- .github/workflows/python-app.yml | 4 ++++ Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6d26701..fca0010 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -29,6 +29,10 @@ jobs: isort --check --diff tastytrade/ tests/ flake8 --count --show-source --statistics tastytrade/ tests/ mypy -p tastytrade +<<<<<<< HEAD +======= + mypy -p tests +>>>>>>> eb81296 (add pytest) - name: Testing... run: | python -m pytest --cov=tastytrade --cov-report=term-missing tests/ diff --git a/Makefile b/Makefile index 88eaea6..fa448eb 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,10 @@ lint: isort --check --diff tastytrade/ tests/ flake8 --count --show-source --statistics tastytrade/ tests/ mypy -p tastytrade + mypy -p tests + +test: + python -m pytest --cov=tastytrade --cov-report=term-missing tests/ test: python -m pytest --cov=tastytrade --cov-report=term-missing tests/