Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AnmolikaGoyal authored Nov 5, 2021
1 parent 660d69e commit 82b6e4e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Tests On Push
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3.9.7
uses: actions/setup-python@v1
with:
python-version: 3.9.7
- name: Install dependencies
run: |
pip install -r requirements.txt
echo requirements installed
- name: Run tests
run: |
cd test
pip install pytest
pytest

0 comments on commit 82b6e4e

Please sign in to comment.