Skip to content

Commit

Permalink
oper: testes unitario de CI
Browse files Browse the repository at this point in the history
  • Loading branch information
b4hia authored Dec 2, 2024
1 parent 54c6fb9 commit ad3b991
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Unit Tests

on:
pull_request:
branches:
- develop

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
cd src/tupan && pytest --unit

0 comments on commit ad3b991

Please sign in to comment.