ansible-role-borg-backup/.github/workflows/main.yml
2023-10-09 00:22:30 +00:00

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