diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 946d8ac..115de5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,6 @@ jobs: - name: "๐Ÿ” Performing Lint & Formatting" run: black . - name: "๐Ÿงช Running Tests" - run: python lazuardy_anfis/tests.py + run: python -m lazuardy_anfis.tests - name: "๐Ÿ”จ Building Package" run: python -m build --sdist --wheel --outdir dist/ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b9a395..2a27481 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: - name: "๐Ÿ” Performing Lint & Formatting" run: black . - name: "๐Ÿงช Running Tests" - run: python lazuardy_anfis/tests.py + run: python -m lazuardy_anfis.tests - name: "๐Ÿ”จ Building Package" run: python -m build --sdist --wheel --outdir dist/ - name: "๐Ÿ“ฆ Publish Package to PyPI" diff --git a/README.md b/README.md index 91cedbe..c835de7 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,7 @@ Install anfis and navigate to the location of `lazuardy_anfis/tests.py`. From the command line run: ```bash -python lazuardy_anfis/tests.py -``` - -Alternatively, from the same location launch `ipython` and run: - -```bash -run lazuardy_anfis/tests.py +python -m lazuardy_anfis.tests ``` This will set up and fit an ANFIS model based on the data contained in `training_set.txt`, using 10 epochs. Plots of the fitting errors and the model predicted output are graphed.