Skip to content

infra: workflow's name changed #5

infra: workflow's name changed

infra: workflow's name changed #5

Workflow file for this run

name: Test & Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Lint with Ruff
run: |
pip install ruff
ruff --output-format=github .
continue-on-error: true
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest --cov br_docs
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
with:
flags: smart-tests
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}