FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
PyGreSQL/.github/workflows/tests.yml at main · PyGreSQL/PyGreSQL · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
PyGreSQL
/
PyGreSQL
Public
Notifications
You must be signed in to change notification settings
Fork
20
Star
48
Code
Issues
21
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
PyGreSQL
/
.github
/
workflows
/
tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
69 lines (61 loc) · 2.01 KB
Breadcrumbs
PyGreSQL
/
.github
/
workflows
/
tests.yml
Copy path
File metadata and controls
69 lines (61 loc) · 2.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name
:
Run PyGreSQL test matrix
#
this has been shamelessly copied from Psycopg
on
:
push
:
pull_request
:
jobs
:
tests
:
name
:
Unit tests run
runs-on
:
ubuntu-22.04
strategy
:
fail-fast
:
false
matrix
:
include
:
-
{ python: "3.8", postgres: "12" }
-
{ python: "3.9", postgres: "13" }
-
{ python: "3.10", postgres: "14" }
-
{ python: "3.11", postgres: "15" }
-
{ python: "3.12", postgres: "16" }
-
{ python: "3.13", postgres: "17" }
-
{ python: "3.14", postgres: "18" }
#
Opposite extremes of the supported Py/PG range, other architecture
-
{ python: "3.8", postgres: "18", architecture: "x86" }
-
{ python: "3.9", postgres: "17", architecture: "x86" }
-
{ python: "3.10", postgres: "16", architecture: "x86" }
-
{ python: "3.11", postgres: "15", architecture: "x86" }
-
{ python: "3.12", postgres: "14", architecture: "x86" }
-
{ python: "3.13", postgres: "13", architecture: "x86" }
-
{ python: "3.14", postgres: "12", architecture: "x86" }
env
:
PYGRESQL_DB
:
test
PYGRESQL_HOST
:
127.0.0.1
PYGRESQL_USER
:
test
PYGRESQL_PASSWD
:
test
services
:
postgresql
:
image
:
postgres:${{ matrix.postgres }}
env
:
POSTGRES_USER
:
test
POSTGRES_PASSWORD
:
test
ports
:
-
5432:5432
#
Set health checks to wait until postgres has started
options
:
>-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps
:
-
name
:
Check out repository
uses
:
actions/checkout@v6
-
name
:
Install tox
run
:
pip install tox
-
name
:
Setup Python
uses
:
actions/setup-python@v6
with
:
python-version
:
${{ matrix.python }}
-
name
:
Run tests
env
:
MATRIX_PYTHON
:
${{ matrix.python }}
run
:
tox -e py${MATRIX_PYTHON/./}
timeout-minutes
:
5
Back
|
FazBrowse Home
|
New Git URL