Skip to content

feat(install): Support default site language #41

feat(install): Support default site language

feat(install): Support default site language #41

Workflow file for this run

---
name: Ansible Role Drupal CI
'on':
pull_request:
push:
branches:
- master
- main
defaults:
run:
working-directory: 'bmeme.drupal'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
-
name: Check out the codebase.
uses: actions/checkout@v2
with:
path: 'bmeme.drupal'
-
name: Run yamllint
uses: karancode/yamllint-github-action@master
with:
yamllint_config_filepath: '${{ github.workspace }}/bmeme.drupal/.yamllint'
-
name: Setup ansible-lint
uses: bec-galaxy/setup-lint@v1
-
name: Run ansible-lint
run: |
ansible-galaxy install -r requirements.yml; \
ansible-lint .
molecule:
name: Run molecule test
runs-on: ubuntu-latest
needs: [lint]
steps:
-
name: Check out the codebase.
uses: actions/checkout@v2
with:
path: 'bmeme.drupal'
-
name: Run molecule
uses: gofrolist/molecule-action@v2
with:
molecule_working_dir: ${{ github.workspace }}/bmeme.drupal
# molecule:
# name: Molecule
# runs-on: ubuntu-latest
# strategy:
# matrix:
# include:
# - distro: ubuntu2004
# playbook: converge.yml
# steps:
# - name: Check out the codebase.
# uses: actions/checkout@v2
# with:
# path: 'bmeme.drupal'
# - name: Set up Python 3.
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'
# - name: Install test dependencies.
# run: pip3 install ansible molecule[docker] docker
# - name: Run Molecule tests.
# run: molecule test
# env:
# PY_COLORS: '1'
# ANSIBLE_FORCE_COLOR: '1'
# MOLECULE_DISTRO: ${{ matrix.distro }}
# MOLECULE_PLAYBOOK: ${{ matrix.playbook }}