23 lines
573 B
YAML
23 lines
573 B
YAML
name: Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.10"
|
|
- name: Install Molecule
|
|
run: |
|
|
pip install -U pip setuptools wheel
|
|
pip install -r requirements-dev.txt
|
|
# - name: Debugging with tmate
|
|
# uses: mxschmitt/action-tmate@v3.5
|
|
- name: Test using Molecule
|
|
run: molecule test
|
|
- name: Test Docker scenario using Molecule
|
|
run: molecule test -s docker |