FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
databases/.github/workflows/test-suite.yml at drop-python3.6 · pythonran/databases · GitHub
pythonran
/
databases
Public
forked from
encode/databases
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
databases
/
.github
/
workflows
/
test-suite.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
63 lines (57 loc) · 1.85 KB
Breadcrumbs
databases
/
.github
/
workflows
/
test-suite.yml
Copy path
File metadata and controls
63 lines (57 loc) · 1.85 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
---
name
:
Test Suite
on
:
push
:
branches
:
["master"]
pull_request
:
branches
:
["master"]
jobs
:
tests
:
name
:
"
Python ${{ matrix.python-version }}
"
runs-on
:
"
ubuntu-latest
"
strategy
:
matrix
:
python-version
:
["3.7", "3.8", "3.9", "3.10"]
services
:
mysql
:
image
:
mysql:5.7
env
:
MYSQL_USER
:
username
MYSQL_PASSWORD
:
password
MYSQL_ROOT_PASSWORD
:
password
MYSQL_DATABASE
:
testsuite
ports
:
-
3306:3306
options
:
--health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
postgres
:
image
:
postgres:14
env
:
POSTGRES_USER
:
username
POSTGRES_PASSWORD
:
password
POSTGRES_DB
:
testsuite
ports
:
-
5432:5432
options
:
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps
:
-
uses
:
"
actions/checkout@v2
"
-
uses
:
"
actions/setup-python@v1
"
with
:
python-version
:
"
${{ matrix.python-version }}
"
-
name
:
"
Install dependencies
"
run
:
"
scripts/install
"
-
name
:
"
Run linting checks
"
run
:
"
scripts/check
"
-
name
:
"
Build package & docs
"
run
:
"
scripts/build
"
-
name
:
"
Run tests
"
env
:
TEST_DATABASE_URLS
:
|
sqlite:///testsuite,
sqlite+aiosqlite:///testsuite,
mysql://username:password@localhost:3306/testsuite,
mysql+aiomysql://username:password@localhost:3306/testsuite,
mysql+asyncmy://username:password@localhost:3306/testsuite,
postgresql://username:password@localhost:5432/testsuite,
postgresql+aiopg://username:password@127.0.0.1:5432/testsuite,
postgresql+asyncpg://username:password@localhost:5432/testsuite
run
:
"
scripts/test
"
Back
|
FazBrowse Home
|
New Git URL