Skip to content

Update GitHub token and Codecov job name #4

Update GitHub token and Codecov job name

Update GitHub token and Codecov job name #4

Workflow file for this run

name: Rodar Testes
on:
push:
branches: [develop]
pull_request:
branches: [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/sonarcloud-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Envia cobertura para o Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: 2026.1-MeasureSoftGram-Parser
verbose: true