https://dev.kronoz.win/r/marzneshin.git
1name: Python Alembic Migration Tests
2
3on:
4 push:
5 branches: master
6 pull_request:
7 branches: master
8
9jobs:
10 test:
11 runs-on: ubuntu-latest
12
13 steps:
14 - uses: actions/checkout@v3
15
16 - name: Set up Python
17 uses: actions/setup-python@v4
18 with:
19 python-version: '3.12'
20
21 - name: Install dependencies
22 run: |
23 python -m pip install --upgrade pip
24 pip install -r requirements.txt
25 pip install pytest pytest-alembic
26
27 - name: Run Tests
28 run: |
29 pytest tests/ -v