From 1c050da929be7c2f81ba60f5bcc87ba007e383c3 Mon Sep 17 00:00:00 2001 From: Debasish Pal <48341250+debpal@users.noreply.github.com> Date: Tue, 10 Sep 2024 22:40:32 +0300 Subject: [PATCH] test GitHub actions --- .github/workflows/python-package.yml | 1 + pyproject.toml | 22 +--------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 86193d0..d6854e4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -35,5 +35,6 @@ jobs: - name: Test with pytest run: | + export PYTHONPATH=$(pwd) # Run tests with pytest and generate coverage report pytest --cov=BharatFinTrack diff --git a/pyproject.toml b/pyproject.toml index 2a86064..8e85a77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,24 +51,4 @@ files = [ "docs" ] ignore_missing_imports = true -strict = true - - -[tool.tox] -legacy_tox_ini = """ - [tox] - envlist = py310, py311 - - [testenv] - deps = - pytest - pytest-cov - commands = - pytest --cov=BharatFinTrack - - [testenv:py310] - basepython = C:\\Users\\dpal22\\AppData\\Local\\anaconda3\\envs\\py310\\python.exe - - [testenv:py311] - basepython = C:\\Users\\dpal22\\AppData\\Local\\anaconda3\\envs\\py311\\python.exe -""" \ No newline at end of file +strict = true \ No newline at end of file