Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyglot #74

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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.