diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 06be58a1..6d02c1cf 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -71,7 +71,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Install dependencies and build run: | @@ -80,5 +80,5 @@ jobs: - name: Check Build run: | - cd ./dist - pytest ../ \ No newline at end of file + pip install tox tox-gh-actions coverage + tox diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 247dda84..ce27bb80 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,8 +33,8 @@ jobs: python -m build - name: Test with pytest run: | - cd ./dist - pytest ../ + pip install tox tox-gh-actions coverage + tox - uses: actions/upload-artifact@v4 with: name: EasyScience - Python ${{ matrix.python-version }} diff --git a/Examples/base/plot_baseclass1.py b/Examples/base/plot_baseclass1.py index 3df2e859..fa0539c8 100644 --- a/Examples/base/plot_baseclass1.py +++ b/Examples/base/plot_baseclass1.py @@ -16,6 +16,7 @@ import matplotlib.pyplot as plt import numpy as np + from easyscience.Objects.ObjectClasses import BaseObj from easyscience.Objects.ObjectClasses import Parameter