Skip to content

Add release workflow #2

Add release workflow

Add release workflow #2

Workflow file for this run

name: Sonar
on:
push:
branches:
- master
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Hatch
run: pip install --upgrade hatch
- name: Run tests
run: hatch run test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}