Skip to content

add badge GitHub

add badge GitHub #8

Workflow file for this run

name: my_build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
# make depends on uv
- name: Install dependencies
run: |
pip install uv
make install
- name: Run linter and pytest
run: |
make check
- name: Run test coverage
run: |
make test-coverage
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}