Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1694

Add the SKIP envar to bypass specific actions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.4
    • Component/s: Tests

      Description

      While testing, it is painful to have mypy running or even the test failure to rerun.
      We could add an envar SKIP` that can be a string of actions to bypass:

      • flake8 to skip code style checks.
      • mypy to skip type annotations checks.
      • rerun to not rerun failed test(s).
      • integration to notrun integration tests on Windows.
      • all to skip all above (equivalent to flake8,mypy,rerun,integration).
      • tests to run only code quality checks.

      Usage:

      SKIP=mypy CMD
      SKIP=mypy,flake8 CMD
      SKIP=all CMD
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h