Update paths
This commit is contained in:
parent
09a3d0a7dd
commit
5cc96172af
2 changed files with 29 additions and 3 deletions
26
.github/workflows/check_example.yml
vendored
Normal file
26
.github/workflows/check_example.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
name: Check library
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "great_ai/**"
|
||||||
|
- ".github/workflows/*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
uses: ./.github/workflows/generic-lint-python.yml
|
||||||
|
with:
|
||||||
|
path_to_project: examples/complex
|
||||||
|
|
||||||
|
sonar:
|
||||||
|
needs: lint
|
||||||
|
uses: ./.github/workflows/generic-sonarqube-python.yml
|
||||||
|
with:
|
||||||
|
project_name: great_ai
|
||||||
|
path_to_project: examples/complex
|
||||||
|
secrets:
|
||||||
|
sonar_token: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
sonar_host: ${{ secrets.SONAR_HOST_URL }}
|
||||||
6
.github/workflows/check_great_ai.yml
vendored
6
.github/workflows/check_great_ai.yml
vendored
|
|
@ -6,21 +6,21 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- "projects/great_ai/**"
|
- "great_ai/**"
|
||||||
- ".github/workflows/*"
|
- ".github/workflows/*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
uses: ./.github/workflows/generic-lint-python.yml
|
uses: ./.github/workflows/generic-lint-python.yml
|
||||||
with:
|
with:
|
||||||
path_to_project: projects/great_ai
|
path_to_project: great_ai
|
||||||
|
|
||||||
sonar:
|
sonar:
|
||||||
needs: lint
|
needs: lint
|
||||||
uses: ./.github/workflows/generic-sonarqube-python.yml
|
uses: ./.github/workflows/generic-sonarqube-python.yml
|
||||||
with:
|
with:
|
||||||
project_name: great_ai
|
project_name: great_ai
|
||||||
path_to_project: projects/great_ai
|
path_to_project: great_ai
|
||||||
secrets:
|
secrets:
|
||||||
sonar_token: ${{ secrets.SONAR_TOKEN }}
|
sonar_token: ${{ secrets.SONAR_TOKEN }}
|
||||||
sonar_host: ${{ secrets.SONAR_HOST_URL }}
|
sonar_host: ${{ secrets.SONAR_HOST_URL }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue