This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
fix: problem when returning the results throug th rest api in the cas… #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pytest Testing Suite | |
'on': | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- edited | |
- review_requested | |
- synchronize | |
push: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
units: | |
name: Unitary Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run unit tests | |
run: pytest ./tests/test_units.py |