1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
ansible_role_restic/.github/workflows/test.yml
dependabot[bot] 1156712b16
Bump robertdebock/molecule-action from 2.6.4 to 2.6.8 (#31)
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action) from 2.6.4 to 2.6.8.
- [Release notes](https://github.com/robertdebock/molecule-action/releases)
- [Commits](https://github.com/robertdebock/molecule-action/compare/2.6.4...7c9bf4ee6256bf665aae7152dd3ad344bb9f3745)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-13 16:53:38 +01:00

57 lines
1.3 KiB
YAML

---
name: 🎭 Tests
on:
push:
paths:
- defaults/**
- handlers/**
- meta/**
- molecule/**
- tasks/**
- templates/**
- vars/**
- .github/**
pull_request:
branches:
- master
jobs:
lint:
name: 📝 Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v3
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_ANSIBLE: true
ANSIBLE_DIRECTORY: './'
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
molecule:
name: 🧪 Molecule test
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- centos7
- centos6
- ubuntu1804
- debian9
- debian10
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.8
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
with:
image: ubuntu