Skip to content

Commit

Permalink
fix: add missing ci and sonar files
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmanuel-tirado committed May 27, 2024
1 parent b2c2359 commit 14ae303
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
shared:
uses: pantos-io/ci-workflows/.github/workflows/python-ci.yml@8651148b739f73851ab50c671da422c94bc55095
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Sonar

on:
workflow_run:
workflows: [CI]
types: [completed]

jobs:
shared:
uses: pantos-io/ci-workflows/.github/workflows/sonar.yml@v1
5 changes: 5 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sonar.projectKey=pantos-io_servicenode
sonar.organization=pantos-io
sonar.python.coverage.reportPaths=coverage-3.12.xml
sonar.python.version=3.12
sonar.coverage.exclusions=**/tests/**,**/migrations/**

0 comments on commit 14ae303

Please sign in to comment.