Skip to content

Merge pull request #51 from AbduazizZiyodov/snyk-upgrade-480f723a2260… #57

Merge pull request #51 from AbduazizZiyodov/snyk-upgrade-480f723a2260…

Merge pull request #51 from AbduazizZiyodov/snyk-upgrade-480f723a2260… #57

Workflow file for this run

name: Test (server)
on:
push:
branches:
- master
paths:
- "src/**"
- "configs/**"
- ".github/workflows/ci.yml"
jobs:
setup-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies 📦
run: |
cd src/
python -m pip install -U pip
pip install -r server/requirements.txt
pip install -r server/test_requirements.txt
pip install mypy
- name: MyPy(static type checking) 🐍
run: |
mypy src/server
- name: Run tests 🧪
run: |
cd src/
pytest ./server/