From 759fbe219a8e32c666b211ee7124cf5652e40749 Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Wed, 24 Jul 2024 12:51:01 -0400 Subject: [PATCH] add --pyargs and py3.8 to tested python version --- .github/workflows/python-package.yml | 5 +++++ tox.ini | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 28288358..cc94fa4b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,6 +33,11 @@ jobs: python: 3.9 toxenv: py39-test + - name: Python 3.8 + os: ubuntu-latest + python: 3.8 + toxenv: py38-test + steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 73ae44e3..2d6c4e82 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ deps = cov: mock commands = - pytest '{toxinidir}/goodman_pipeline' {posargs} - cov: pytest '{toxinidir}/goodman_pipeline' --cov goodman_pipeline {posargs} + pytest --pyargs '{toxinidir}/goodman_pipeline' {posargs} + cov: pytest --pyargs '{toxinidir}/goodman_pipeline' --cov goodman_pipeline {posargs} cov: coverage xml -o '{toxinidir}/coverage.xml' html: coverage html -d .coverage_html \ No newline at end of file