Skip to content

Merge pull request #16 from narenaryan/docs/add-programmatic-access #31

Merge pull request #16 from narenaryan/docs/add-programmatic-access

Merge pull request #16 from narenaryan/docs/add-programmatic-access #31

Workflow file for this run

name: Run unit tests
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_test.txt
pip install coveralls
- name: Run Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pytest --cov=whispr tests
coveralls