Skip to content

Commit

Permalink
Add GH actions for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
neuromechanist committed Jul 4, 2024
1 parent 3877779 commit 7b78019
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Python application

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
python -m unittest discover -s lineNdots/tests

0 comments on commit 7b78019

Please sign in to comment.