Skip to content

Commit

Permalink
Add missing flake8 dependency (contributes to #69) (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <[email protected]>
  • Loading branch information
Simon Stone authored Mar 25, 2020
1 parent 44fdab8 commit fb6e9d1
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
inputs:
versionSpec: "3.x"
displayName: Use Python 3.x
- script: pip install ansible ansible-lint yamllint yq
- script: pip install ansible ansible-lint flake8 yamllint yq
displayName: Install Python dependencies
- script: |
set -ex
Expand All @@ -30,17 +30,22 @@ steps:
sudo tar xvf fabric-ca-bins.tar.gz -C /usr/local
rm fabric-ca-bins.tar.gz
displayName: Download Fabric CA CLI
- script: |
set -ex
ansible-galaxy collection build
displayName: Build collection artifact
- script: |
set -ex
VERSION=$(yq -r .version galaxy.yml)
ansible-galaxy collection install ibm-blockchain_platform-${VERSION}.tar.gz
displayName: Install collection
- script: |
set -ex
flake8 .
ansible-lint .
for ROLE in roles/*; do ansible-lint ${ROLE}; done
yamllint .
displayName: Lint
- script: |
set -ex
ansible-galaxy collection build
displayName: Build collection artifact
displayName: Lint collection
- script: |
set -ex
VERSION=$(yq -r .version galaxy.yml)
Expand Down

0 comments on commit fb6e9d1

Please sign in to comment.