Skip to content

Commit

Permalink
Fix CI role directory so linting passes
Browse files Browse the repository at this point in the history
  • Loading branch information
samdbmg committed Apr 2, 2023
1 parent 3fb36e5 commit a7b16f2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ name: CI with Molecule
schedule:
- cron: "0 7 * * 4"

defaults:
run:
working-directory: ./traefik_auth_proxy

jobs:
lint:
Expand All @@ -16,6 +19,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: traefik_auth_proxy # Check out to where Ansible expects to find it
- name: Setup Python 3
uses: actions/setup-python@v4
with:
Expand All @@ -27,8 +32,7 @@ jobs:
- name: Lint code.
run: |
yamllint .
# Ignore role name when linting
ansible-lint -x 'role-name'
ansible-lint .
test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -42,6 +46,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: traefik_auth_proxy # Check out to where Ansible expects to find it
- name: Setup Python 3
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit a7b16f2

Please sign in to comment.