From 317d9f535e41ddc0901cdc5ad6a0c77f40462468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Schmelczer?= Date: Thu, 26 May 2022 21:03:27 +0200 Subject: [PATCH] Update paths --- .github/workflows/check_example.yml | 26 ++++++++++++++++++++++++++ .github/workflows/check_great_ai.yml | 6 +++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/check_example.yml diff --git a/.github/workflows/check_example.yml b/.github/workflows/check_example.yml new file mode 100644 index 0000000..3231cfe --- /dev/null +++ b/.github/workflows/check_example.yml @@ -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 }} diff --git a/.github/workflows/check_great_ai.yml b/.github/workflows/check_great_ai.yml index 57e953a..0ba1c47 100644 --- a/.github/workflows/check_great_ai.yml +++ b/.github/workflows/check_great_ai.yml @@ -6,21 +6,21 @@ on: branches: - main paths: - - "projects/great_ai/**" + - "great_ai/**" - ".github/workflows/*" jobs: lint: uses: ./.github/workflows/generic-lint-python.yml with: - path_to_project: projects/great_ai + path_to_project: great_ai sonar: needs: lint uses: ./.github/workflows/generic-sonarqube-python.yml with: project_name: great_ai - path_to_project: projects/great_ai + path_to_project: great_ai secrets: sonar_token: ${{ secrets.SONAR_TOKEN }} sonar_host: ${{ secrets.SONAR_HOST_URL }}