Merge pull request #47 from nvllsvm/ci

Run tests on PR & add support for Python 3.10
This commit is contained in:
dave-shawley 2022-03-16 08:38:26 -04:00 committed by GitHub
commit 689b339e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'sprockets/sprockets.http'
container: python:3.9-alpine
container: python:3.10-alpine
steps:
- name: Checkout repository
uses: actions/checkout@v1

View file

@ -8,13 +8,14 @@ on:
- '*.md'
- '*.rst'
tags-ignore: ["*"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
python: [3.7, 3.8, 3.9]
python: ["3.7", "3.8", "3.9", "3.10"]
container:
image: python:${{ matrix.python }}-alpine
steps:

View file

@ -12,7 +12,7 @@ Setup
code::
python3.9 -m venv env
python3.10 -m venv env
pip install -r requires/development.txt

View file

@ -50,6 +50,7 @@ setuptools.setup(
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',