Skip to content

Commit

Permalink
[CI] Run linter on Pull Request only and remove unnecessary files (Az…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianhui Harold authored Mar 13, 2020
1 parent 15231d8 commit ea2c98d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 104 deletions.
1 change: 0 additions & 1 deletion azure-cli-extensions.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<ItemGroup>
<Compile Include="scripts\avail-ext-doc\main.py" />
<Compile Include="scripts\ci\available_extensions_doc.py" />
<Compile Include="scripts\ci\index_changes.py" />
<Compile Include="scripts\ci\index_ref_doc.py" />
<Compile Include="scripts\ci\test_index.py" />
<Compile Include="scripts\ci\test_source.py" />
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:

- job: LintModifiedExtensions
displayName: "CLI Linter on Modified Extensions"
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
pool:
vmImage: 'ubuntu-16.04'
steps:
Expand Down
21 changes: 0 additions & 21 deletions scripts/ci/index_changes.py

This file was deleted.

1 change: 1 addition & 0 deletions scripts/ci/verify_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def find_modified_files_against_master_branch():
files = [f for f in files if len(f) > 0]

if files:
print('modified files:')
separator_line()
for f in files:
print(f)
Expand Down
82 changes: 0 additions & 82 deletions scripts/ci/verify_modified_index.sh

This file was deleted.

0 comments on commit ea2c98d

Please sign in to comment.