Skip to content

Api caller test

Api caller test #22

Workflow file for this run

name: Run Tests
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # specify the Python version you need
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Install pytest
run: |
pip install pytest
- name: Run tests
run: |
pytest -s .
- name: Upload pytest results
if: always()
uses: actions/upload-artifact@v3
with:
name: pytest-results
path: tests/results/