Skip to content

Commit

Permalink
Chore: Add unit test Action
Browse files Browse the repository at this point in the history
  • Loading branch information
alissonlauffer committed Jul 26, 2023
1 parent 34cf96f commit b5abd9c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python Unit Tests

on: [push, pull_request] # Define when the workflow should be triggered

jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run unittest
run: python -m unittest

0 comments on commit b5abd9c

Please sign in to comment.