Skip to content

Commit

Permalink
ci: setup workflow for molecule testing
Browse files Browse the repository at this point in the history
Signed-off-by: Zakhar Bessarab <[email protected]>
  • Loading branch information
zekker6 committed Feb 22, 2024
1 parent c6478b8 commit 4f8ebd1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Molecule Test'
on:
pull_request: { }
push: { }

jobs:
lint:
name: 'Test'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4

- name: Cache .venv directory
uses: actions/cache@v3
with:
path: .venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-venv-
- name: Converge
run: |
make init-venv
make molecule-converge

0 comments on commit 4f8ebd1

Please sign in to comment.