turbaszek commented on a change in pull request #8383: Remove steps from travis
URL: https://github.com/apache/airflow/pull/8383#discussion_r409050776
 
 

 ##########
 File path: .github/workflows/static-tests.yml
 ##########
 @@ -0,0 +1,36 @@
+name: "static tests"
+on: [pull_request, push]
+env:
+  TRAVIS_BRANCH: "master"
+jobs:
+  statics-tests:
+    name: Static tests
+    runs-on: ubuntu-latest
+    env:
+      PYTHON_VERSION: 3.6
+      AIRFLOW_MOUNT_SOURCE_DIR_FOR_STATIC_CHECKS: "true"
+      TRAVIS_JOB_NAME: "Static"
+    strategy:
+      matrix:
+        scripts: [ci_run_static_checks_pylint_tests.sh,
+                  ci_mypy.sh,
+                  ci_fix_ownership.sh,
 
 Review comment:
   I think what can help is to split static checks into action steps (should be 
easy with pre-commit). This will probably decrease performance but it will 
increase the readability of the output (you will see which step exactly 
failed). 
   
   Current output from statics checks is often a mess

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to