Skip to content

added test case for REST APIs #1

added test case for REST APIs

added test case for REST APIs #1

Workflow file for this run

name: Python application
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install -r server/requirements.txt
- name: Run tests
run: |
source venv/bin/activate
python -m unittest discover -s server/tests/test_app.py