Skip to content

bump

bump #90

Workflow file for this run

---
name: CI
'on':
pull_request:
push:
branches:
- master
- develop
schedule:
- cron: "0 7 * * 0"
defaults:
run:
working-directory: 'bulch.rsync_server'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/[email protected]
with:
path: 'bulch.rsync_server'
- name: Set up Python 3.
uses: actions/[email protected]
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install yamllint ansible-lint
- name: Lint code yamllint.
run: |
yamllint .
- name: Lint code ansible-lint.
run: |
ansible-lint .
molecule:
name: Molecule
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- ubuntu2204
- ubuntu2004
- ubuntu1804
steps:
- name: Check out the codebase.
uses: actions/[email protected]
with:
path: 'bulch.rsync_server'
- name: Set up Python 3.
uses: actions/[email protected]
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install -r requirements.txt
- name: Run Molecule tests.
run: echo "qwerty" > .vault_password && molecule test --all
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
MOLECULE_DISTRO: ${{ matrix.distro }}