mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
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 |