Skip to content

Commit b93416f

Browse files
committed
add actions with tests
1 parent b663664 commit b93416f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test Coverage
2+
3+
on: ["push", "pull_request"]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.11"]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install sqlalchemy asyncpg uvloop alembic psycopg2 marshmallow marshmallow-jsonschema dacite marshmallow-enum pytest
21+
- name: Run pytest
22+
run: |
23+
PYTHONPATH=$(pwd)
24+
export PYTHONPATH
25+
pytest

0 commit comments

Comments
 (0)