-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last changes to try to fix flakiness on code checks/yarn lint (#111)
* Moving tsconfig to the right path * Fixing some yaml files * Making static code checks run when tsx files are modified * Adding a manual hook to run static code check so we can better debug * Enabling verbose pre commit check runs to better debug the flakiness
- Loading branch information
Showing
6 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,7 +165,6 @@ yarn-error.log* | |
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
/florist/tsconfig.json | ||
|
||
/metrics/ | ||
/logs/ | ||
|
File renamed without changes.