Skip to content

running tests for searchenginepy #5

running tests for searchenginepy

running tests for searchenginepy #5

Workflow file for this run

name: testing
on: [push,pull_request]
run-name: running tests for searchenginepy
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed
- name: Install dependencies
run: |
cd $GITHUB_WORKSPACE
python -m pip install --upgrade pip
python -m pip install genbadge[all] pytest coverage
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -r requirements.txt
- name: run tests # run main.py
working-directory: ./tests
run: python -m unittest discover