Skip to content

Commit

Permalink
Try with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
diraol committed Dec 15, 2022
1 parent 3745364 commit 951c7c1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/molecute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Molecule Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.9", "3.10", "3.11"]
molecule_distro: ['debian', 'ubuntu']
steps:
- uses: actions/checkout@v2
with:
path: airflow-role
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install deps
run: |
python3 -m pip install -U pip
python3 -m pip install pipenv
pipenv sync
- name: Test with molecule
run: pipenv run molecule test --all
env:
MOLECULE_DISTRO: ${{ matrix.molecule_distro }}

0 comments on commit 951c7c1

Please sign in to comment.