Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #3

Merged
merged 2 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:
- cron: 30 5 * * MON # Every monday at 5.30 AM

jobs:
cicd:
name: Test role
lint:
name: Lint code
runs-on: ubuntu-latest
steps:
- name: Checkout.
Expand All @@ -25,9 +25,21 @@ jobs:
with:
python-version: 3.x
- name: Install dependencies.
run: pip install yamllint ansible-core ansible-lint pre-commit molecule molecule-plugins[podman]
run: pip install yamllint ansible-lint pre-commit
- name: Lint code.
run: pre-commit run --all-files --color always --verbose
test:
name: Test role
runs-on: ubuntu-latest
steps:
- name: Checkout.
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies.
run: pip install molecule-plugins[podman]
- name: Run molecule test.
run: molecule test
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ tags
# End of https://www.toptal.com/developers/gitignore/api/vim,macos
borgmatic-keys/

.vscode/*
Expand Down