Skip to content

pip(deps-dev): update black requirement from ==23.* to ==24.* in /backend #9

pip(deps-dev): update black requirement from ==23.* to ==24.* in /backend

pip(deps-dev): update black requirement from ==23.* to ==24.* in /backend #9

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones disabled for better SonarCloud reporting
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
cd backend
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run formatters and linters
run: |
cd backend
bash format_and_lint.sh
- name: SonarCloud Scan
uses: sonarsource/sonarqube-scan-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}