Skip to content

feat: Updated src/api.py #376

feat: Updated src/api.py

feat: Updated src/api.py #376

Workflow file for this run

name: Pytest
on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
# Caching pip dependencies
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Run Pytest
run: pytest