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 791dc1f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/molecute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Molecule Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ["3.9", "3.10", "3.11"]
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

0 comments on commit 791dc1f

Please sign in to comment.