feat(ci): fix CI, switch to self-hosted SonarQube (#310)
Some checks failed
Release / Publish to PyPI (push) Has been skipped
Release / Create Release (push) Has been skipped
Release / Print Release (push) Has been skipped
Release / Build Wheel File (push) Has been skipped
Release / Test (push) Failing after 4s
Release / Publish Docker Images (push) Has been skipped
Security / sonarqube (push) Successful in 2m20s
Security / snyk (push) Successful in 1m35s

Reviewed-on: #310
This commit is contained in:
2025-02-09 22:01:56 +01:00
parent 7ce7783bb7
commit 46e2ee6408
17 changed files with 47 additions and 19 deletions

View File

@ -5,18 +5,13 @@ on:
- cron: "0 9 * * 0"
jobs:
# test:
# name: Test
# uses: https://git.tainton.uk/public/pypilot/.gitea/workflows/ci.yml@main
# with:
# python-version: 3.13
# secrets:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
test:
name: Test
uses: https://git.tainton.uk/repos/pypilot/.gitea/workflows/ci.yml@main
create_release:
name: Create Release
# needs: test
needs: test
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
secrets:
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
@ -51,8 +46,7 @@ jobs:
- name: Setup Poetry
uses: abatilo/actions-poetry@v4
- name: Update pyproject.toml
run:
./tools/update_pyproject.sh ${{ needs.create_release.outputs.release_name }}
run: ./tools/update_pyproject.sh ${{ needs.create_release.outputs.release_name }}
- name: Install dependencies
run: poetry install
- name: Build wheel file