diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 38c230c..0f4fcb3 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -14,21 +14,23 @@ permissions: jobs: build: - - runs-on: ubuntu-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + python-version: [3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install . + # pip install .[iontof] - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/pyproject.toml b/pyproject.toml index f7a5929..f60e859 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,11 +5,10 @@ build-backend = "flit_core.buildapi" [project] name = "makeitwright" description = "Plotting and parsing tools for the Jin Group." +readme = "README.md" authors = [{name="Chris Roy"}] maintainers = [{name="Dan Kohler"}] -dynamic = ["version"] requires-python = ">=3.7" -readme = "README.md" dependencies = [ "psutil", "wrighttools", @@ -18,15 +17,15 @@ dependencies = [ classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", ] +dynamic = ["version"] +license = "MIT" [project.optional-dependencies] iontof = ["pySPM"] @@ -34,4 +33,4 @@ iontof = ["pySPM"] [tool.pytest.ini_options] testpaths = [ "tests", -] \ No newline at end of file +]