Skip to content

Commit

Permalink
Added unit-test action.
Browse files Browse the repository at this point in the history
  • Loading branch information
brlauuu authored Feb 8, 2021
1 parent fff2020 commit ef55278
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit Tests
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with unittest
run: python -m unittest discover

0 comments on commit ef55278

Please sign in to comment.