Skip to content

Commit

Permalink
Merge pull request #74 from malthe/polyglot
Browse files Browse the repository at this point in the history
Polyglot
  • Loading branch information
malthe committed Feb 2, 2024
2 parents d519d55 + 66ac061 commit 0e34205
Show file tree
Hide file tree
Showing 39 changed files with 34 additions and 8 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: PQ
name: ci

# PostgreSQL support taken from:
# https://github.com/actions/example-services/blob/master/.github/workflows/postgres-service.yml

on: [push, pull_request]

jobs:
ci:
python:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [ '3.x', 'pypy3' ]
postgres-version: [ '9', 'latest' ]

python-version:
- "3.9"
- "pypy-3.9"
postgres-version:
- "9"
- "latest"
services:
postgres:
image: postgres:${{ matrix.postgres-version }}
Expand All @@ -29,10 +32,12 @@ jobs:

steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip setuptools wheel && python setup.py test
- run: |
cd python
python -m pip install --upgrade pip setuptools wheel && python setup.py test
env:
PQ_TEST_DB_PORT: ${{ job.services.postgres.ports[5432] }}
PQ_TEST_DB_HOST: localhost
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# PQ

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/malthe/pq/ci.yml)

A PostgreSQL job queueing system.

![PQ does the job!](docs/intro.svg)

Languages supported:

- [Python](python/)

![PyPI - Version](https://img.shields.io/pypi/v/pq)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pq)
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion setup.py → python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def readfile(name):
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=3.6',
python_requires='>=3.9',
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
Expand All @@ -36,6 +36,13 @@ def readfile(name):
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
Expand Down
File renamed without changes.

0 comments on commit 0e34205

Please sign in to comment.