Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
change molecule (#3)
Browse files Browse the repository at this point in the history
enable linting
  • Loading branch information
bodsch authored Feb 10, 2021
1 parent 963c6cc commit 3fcee67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,19 @@ jobs:
with:
python-version: '3.x'

- name: install test dependencies.
run: pip install -r test-requirements.txt
- name: install dependencies.
run: |
sudo apt-get update
sudo apt-get install -y ansible ansible-lint yamllint flake8
- name: Lint code.
- name: YAMLlint
run: |
yamllint .
- name: ansible-lint
run: |
ansible-lint .
- name: flake8
run: flake8 .

test:
name: "${{ matrix.image }} / python: ${{ matrix.python-version }}, ansible: ${{ matrix.ansible-version }}"
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
molecule
molecule-docker
molecule-podman
docker
ansible-lint
yamllint
Expand Down

0 comments on commit 3fcee67

Please sign in to comment.