Skip to content

Commit

Permalink
test runner github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithnick authored Jul 12, 2023
1 parent 2e744c7 commit 0f0c505
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: testing
on: [push]
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 python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: run tests # run main.py
working-directory: ./tests
run: python -m unittest discover

0 comments on commit 0f0c505

Please sign in to comment.