Skip to content

Commit

Permalink
cria pipeline de integracao continua
Browse files Browse the repository at this point in the history
  • Loading branch information
italojohnny committed Nov 20, 2024
1 parent 9c47942 commit be5ca1f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: PIPELINE
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: OBTEM REPOSITORIO
uses: actions/checkout@v3

- name: OBTEM PYTHON
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: OBTEM POETRY
run: pip install poetry

- name: INSTALA DEPENDENCIAS
run: poetry install

- name: EXECUTA TESTES UNITARIOS
run: poetry run pytest --cov-report=xml

- name: PUBLICAR RELATORIO DE COBERTURA
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit be5ca1f

Please sign in to comment.