Skip to content

Commit

Permalink
Merge pull request #3 from italojohnny/ci
Browse files Browse the repository at this point in the history
cria pipeline de integracao continua
  • Loading branch information
italojohnny authored Nov 20, 2024
2 parents 9c47942 + b108424 commit 4ccfaa4
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 4ccfaa4

Please sign in to comment.