diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..1c7cc8b --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,25 @@ +name: Python package CI + +on: [ push, pull_request ] + +jobs: + test: + + runs-on: ubuntu-20.04 + strategy: + matrix: + python-version: [ "3.9", "3.12" ] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel + - name: Build dist + run: | + python setup.py sdist bdist_wheel diff --git a/setup.py b/setup.py index cd447e4..af8ae9f 100644 --- a/setup.py +++ b/setup.py @@ -23,9 +23,11 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "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 :: Security" ]