Skip to content

Commit 6bfd806

Browse files
authored
Merge pull request #2 from AppSolves/aiopynamodb-test
Implement `aiopynamodb`
2 parents c62a63d + 6e4e13b commit 6bfd806

File tree

15 files changed

+761
-953
lines changed

15 files changed

+761
-953
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,10 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88

9-
services:
10-
postgres:
11-
image: postgres:alpine
12-
ports:
13-
- 5432:5432
14-
env:
15-
POSTGRES_USER: fastapiusers
16-
POSTGRES_PASSWORD: fastapiuserspassword
17-
# Set health checks to wait until postgres has started
18-
options: >-
19-
--health-cmd pg_isready
20-
--health-interval 10s
21-
--health-timeout 5s
22-
--health-retries 5
23-
24-
mariadb:
25-
image: mariadb
26-
ports:
27-
- 3306:3306
28-
env:
29-
MARIADB_ROOT_PASSWORD: fastapiuserspassword
30-
MARIADB_DATABASE: fastapiusers
31-
MARIADB_USER: fastapiusers
32-
MARIADB_PASSWORD: fastapiuserspassword
33-
349
strategy:
3510
fail-fast: false
3611
matrix:
3712
python_version: [3.9, '3.10', '3.11', '3.12', '3.13']
38-
database_url:
39-
[
40-
"sqlite+aiosqlite:///./test-fastapiusers.db",
41-
"postgresql+asyncpg://fastapiusers:fastapiuserspassword@localhost:5432/fastapiusers",
42-
"mysql+aiomysql://root:fastapiuserspassword@localhost:3306/fastapiusers",
43-
]
4413

4514
steps:
4615
- uses: actions/checkout@v4
@@ -57,19 +26,12 @@ jobs:
5726
run: |
5827
hatch run lint-check
5928
- name: Test
60-
env:
61-
DATABASE_URL: ${{ matrix.database_url }}
6229
run: |
6330
hatch run test-cov-xml
64-
- uses: codecov/codecov-action@v5
65-
with:
66-
token: ${{ secrets.CODECOV_TOKEN }}
67-
fail_ci_if_error: true
68-
verbose: true
6931
- name: Build and install it on system host
7032
run: |
7133
hatch build
72-
pip install dist/fastapi_users_db_sqlalchemy-*.whl
34+
pip install dist/fastapi_users_db_dynamodb-*.whl
7335
python test_build.py
7436
7537
release:

0 commit comments

Comments
 (0)