Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
add github action for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanrai05 committed Jul 27, 2020
1 parent c40504b commit 5e17778
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Unit test

on: [push, pull_request]

jobs:
lint-python:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Install Pytest
run: |
python2 -m pip install pytest
- name: Run pytest
run: |
python2 -m pytest -v tests

0 comments on commit 5e17778

Please sign in to comment.