Skip to content

Feature/28 list

Feature/28 list #423

Workflow file for this run

name: Rodar Testes
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
- name: Instalar requirements
run: pip install -r requirements.txt
- name: Instalar tox
run: pip install tox
- name: Rodar testes
run: tox
- name: Scanner do SonarCloud
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Envia cobertura para o Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: 2023-2-MeasureSoftGram-CLI
verbose: true