Skip to content

Merge pull request #53 from AbduazizZiyodov/dependabot/npm_and_yarn/s… #58

Merge pull request #53 from AbduazizZiyodov/dependabot/npm_and_yarn/s…

Merge pull request #53 from AbduazizZiyodov/dependabot/npm_and_yarn/s… #58

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/