Skip to content

[US010] - Adding Cliff Delta #45

[US010] - Adding Cliff Delta

[US010] - Adding Cliff Delta #45

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: Corrige reports path
run: |
sed -i 's/<source>\/home\/runner\/work\/2024.1-MeasureSoftGram-Core\/2024.1-MeasureSoftGram-Core<\/source>/<source>\/github\/workspace<\/source>/g' coverage.xml
- 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/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: 2024.1-MeasureSoftGram-Core
verbose: true