diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index 2848793..4afe897 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -6,10 +6,11 @@ on: - main paths: - .pre-commit-config.yaml - - .github/workflows/static_code_checks.yml + - .github/workflows/static_code_checks.yaml - .github/workflows/docs_build.yml - .github/workflows/docs_deploy.yml - - .github/workflows/tests.yml + - .github/workflows/unit_tests.yaml + - .github/workflows/integration_tests.yaml - '**.py' - '**.ipynb' - poetry.lock diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml index 76c254f..bbdb96a 100644 --- a/.github/workflows/integration_tests.yaml +++ b/.github/workflows/integration_tests.yaml @@ -6,10 +6,11 @@ on: - main paths: - .pre-commit-config.yaml - - .github/workflows/static_code_checks.yml + - .github/workflows/static_code_checks.yaml - .github/workflows/docs_build.yml - .github/workflows/docs_deploy.yml - - .github/workflows/tests.yml + - .github/workflows/unit_tests.yaml + - .github/workflows/integration_tests.yaml - '**.py' - '**.ipynb' - poetry.lock @@ -24,7 +25,7 @@ on: - .github/workflows/static_code_checks.yml - .github/workflows/docs_build.yml - .github/workflows/docs_deploy.yml - - .github/workflows/tests.yml + - .github/workflows/integration_tests.yml - '**.py' - '**.ipynb' - poetry.lock diff --git a/.github/workflows/static_code_checks.yaml b/.github/workflows/static_code_checks.yaml index 6c8545c..eb69e85 100644 --- a/.github/workflows/static_code_checks.yaml +++ b/.github/workflows/static_code_checks.yaml @@ -6,21 +6,34 @@ on: - main paths: - .pre-commit-config.yaml - - .github/workflows/code_checks.yml + - .github/workflows/static_code_checks.yaml - '**.py' - poetry.lock - pyproject.toml - '**.ipynb' + - '**.tsx' pull_request: branches: - main paths: - .pre-commit-config.yaml - - .github/workflows/code_checks.yml + - .github/workflows/static_code_checks.yaml - '**.py' - poetry.lock - pyproject.toml - '**.ipynb' + - '**.tsx' + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'debug' + type: choice + options: + - info + - warning + - debug jobs: run-code-check: @@ -44,7 +57,7 @@ jobs: poetry env use '3.9' source .venv/bin/activate poetry install --with test --all-extras - pre-commit run --all-files + pre-commit run --all-files --verbose - name: pip-audit (gh-action-pip-audit) uses: pypa/gh-action-pip-audit@v1.1.0 with: diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 29d01d6..f8b317b 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -6,10 +6,11 @@ on: - main paths: - .pre-commit-config.yaml - - .github/workflows/static_code_checks.yml + - .github/workflows/static_code_checks.yaml - .github/workflows/docs_build.yml - .github/workflows/docs_deploy.yml - - .github/workflows/tests.yml + - .github/workflows/unit_tests.yaml + - .github/workflows/integration_tests.yaml - '**.py' - '**.ipynb' - poetry.lock @@ -21,10 +22,11 @@ on: - main paths: - .pre-commit-config.yaml - - .github/workflows/static_code_checks.yml + - .github/workflows/static_code_checks.yaml - .github/workflows/docs_build.yml - .github/workflows/docs_deploy.yml - - .github/workflows/tests.yml + - .github/workflows/unit_tests.yaml + - .github/workflows/integration_tests.yaml - '**.py' - '**.ipynb' - poetry.lock diff --git a/.gitignore b/.gitignore index 6e15724..493d8a3 100644 --- a/.gitignore +++ b/.gitignore @@ -165,7 +165,6 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts -/florist/tsconfig.json /metrics/ /logs/ diff --git a/tsconfig.json b/florist/tsconfig.json similarity index 100% rename from tsconfig.json rename to florist/tsconfig.json